prec / cpp-stopwatch

Automatically exported from code.google.com/p/cpp-stopwatch
Other
0 stars 0 forks source link

Pause calls clock() instead of take_time() #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Profile any code with the pause method on linux. 

What is the expected output? What do you see instead?
Non negative numbers. Negative numbers

What version of the product are you using? On what operating system?
Ubuntu 11.4

Please provide any additional information below.
The pause method calls clock() instead of take_time() thus causing an 
inconsistency with start().

Original issue reported on code.google.com by diedthre...@gmail.com on 29 Aug 2012 at 12:12

GoogleCodeExporter commented 9 years ago
You're right, man

Original comment by sma...@gmail.com on 14 Oct 2014 at 2:41