nikgoodley-ibboost / gbench

Automatically exported from code.google.com/p/gbench
Apache License 2.0
0 stars 0 forks source link

There is a case that CPU time is nagative #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
{{{
@Grab('com.googlecode.gbench:gbench:0.4.1-groovy-2.1')

def r = benchmark(warmUpTime:3) {
    'sleep 100 ms' { Thread.sleep(100) }
    'sleep 200 ms' { Thread.sleep(200) }
}
r.prettyPrint()
}}}

the outputs was
{{{
                user   system     cpu       real

sleep 100 ms  181800    21700  203500  100996700
sleep 200 ms  580400  -172000  408400  201512600
}}}

Original issue reported on code.google.com by nagaimas...@gmail.com on 16 Mar 2013 at 3:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
fixed. 
https://code.google.com/p/gbench/source/detail?r=25d8ae9d349656cb982d5708bedd999
b14d8c980&name=v0.4.x#

Original comment by nagaimas...@gmail.com on 16 Mar 2013 at 7:38