BUG-7783: increase precision of execution times 61/54961/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 12 Apr 2017 11:12:34 +0000 (13:12 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 13 Apr 2017 12:11:35 +0000 (12:11 +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 a5431014630f636d48e9191fedcc2624c5949a47..64f0cf1c023fa3d8d34a2929d2dc54af939d5aa4 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";
             }