Hello,
I have benchmarked some code using
Java's ThreadMXBean class and compared with normal real time(using System.nanoTime) like this:
After I converted the nano time into secs, I get these kind of results:
What baffled me is that why sometimes Real time can be smaller than CPU time? Is there something I mis understood the usage of the ThreadMXBean?
Thanks,
tbs