From: Robert Varga Date: Wed, 12 Apr 2017 11:12:34 +0000 (+0200) Subject: BUG-7783: increase precision of execution times X-Git-Tag: release/boron-sr4~8 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=1374a9e6f072862b5144b7af7a5cfd078f42e31a;p=controller.git BUG-7783: increase precision of execution times 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 (cherry picked from commit 20cffa6b2251167e428a641d18a49958044fe598) --- diff --git a/benchmark/api/src/main/yang/dsbenchmark.yang b/benchmark/api/src/main/yang/dsbenchmark.yang index a543101463..64f0cf1c02 100644 --- a/benchmark/api/src/main/yang/dsbenchmark.yang +++ b/benchmark/api/src/main/yang/dsbenchmark.yang @@ -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"; }