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 fc0c1bd8d11dc17c7fa5b8010f34383aa52ac9e8..f8394e8ae9ca4c4ccbe3b22b0679947372864f34 100644 (file)
@@ -184,12 +184,14 @@ module dsbenchmark {
                     "Indicates whether the test finished successfuly";
             }
             leaf listBuildTime {
                     "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 {
                 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";
             }
                 description
                   "The time it took to execute all transactions";
             }