Thanks for sharing ...

Jump to navigation Jump to search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Jdev/Code/TimeProfiler/Thanks for sharing .../reply (2).

System.nanoTime() accuracy depends heavily on your hardware and OS.

MN19:59, 5 July 2012
 

Yes i guess you are right. But the difference is sometimes up to 100ms and that is clearly out of inaccuracy. I'm really not sure how some java programs can work without a proper time measure, but i'm sure it will work somehow and maybe i should learn a little more about this.

Wompi23:19, 5 July 2012