lishunli / log4jdbc

Automatically exported from code.google.com/p/log4jdbc
0 stars 0 forks source link

use of nanoSeconds for sqltiming #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently sqltiming uses System.currentTimeMillis() to calculate the timing 
statistics. On windows this typically results in 0, 15 or more, where 0 can be 
anything between 0 and 15 ms. 

Is it possible to add an option to measure in nanoSeconds, using 
System.nanoSeconds() to have better timing statistics?

Original issue reported on code.google.com by pverk...@gmail.com on 1 Oct 2010 at 12:43

GoogleCodeExporter commented 9 years ago
Yeah that might be a nice feature.  I may add that later.

Original comment by arthur.b...@gmail.com on 2 Mar 2011 at 2:23