Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
10ms increments for System.currentTimeMillis()
John Raab
Greenhorn
Posts: 18
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Do you guys know of a more precise benchmarking method, than using System.currentTimeMillis()?
It only returns increments of 10ms.
thanks
John
SCJP - Webmaster of battlereports.com
Valentin Crettaz
Author & Gold Digger
Posts: 7617
6
I like...
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi john,
If you are working on Linux, this is the minimum time increment you can get from the underlying platform.
I don't know where it comes from, but I do know that you may not change it.
Val
My Linked In
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Date problem
Time Computation
check efficiency
Time calculation in Java
Java Performance Issue
More...