BUG-7783: increase precision of execution times 57/54957/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 12 Apr 2017 11:12:34 +0000 (13:12 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 14 Apr 2017 18:02:34 +0000 (18:02 +0000)
Document the time units we are using for measuring execution
and make sure they can hold any long.

Change-Id: I859349e27604c75d426ad7c4eec9d6870b081291
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 20cffa6b2251167e428a641d18a49958044fe598)

benchmark/api/src/main/yang/dsbenchmark.yang

index fc0c1bd..f8394e8 100644 (file)
@@ -184,12 +184,14 @@ module dsbenchmark {
                     "Indicates whether the test finished successfuly";
             }
             leaf listBuildTime {
-                type uint32;
+                type int64;
+                units microseconds;
                 description
                   "The time it took to build the list of lists";
             }
             leaf execTime {
-                type uint32;
+                type int64;
+                units microseconds;
                 description
                   "The time it took to execute all transactions";
             }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.