commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject [monitoring / performance] ThreadMXBean.getCurrentThreadCpuTime()
Date Wed, 04 Jun 2008 01:09:34 GMT
I read the following on Ortwin Glück's blog (via PlanetApache):

"...do not use differences of the system timers ... With system timers
I mean System.currentTimeMillis() and System.nanoTime(). Rather the
ThreadMXBean.getCurrentThreadCpuTime() method should be used."

http://www.odi.ch/weblog/posting.php?posting=495

Thought it probably has relevance to the monitoring and performance
sandbox components.

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message