commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lindner (JIRA)" <>
Subject [jira] Created: (LANG-323) StopWatch: increase precision by using System.nanoTime()
Date Thu, 15 Feb 2007 09:19:05 GMT
StopWatch: increase precision by using System.nanoTime()

                 Key: LANG-323
             Project: Commons Lang
          Issue Type: Improvement
    Affects Versions: 2.3
            Reporter: Daniel Lindner
            Priority: Minor

In Java5, theres a new, more precise way to measure elapsed timespans:

It will probably break the class contract of the current StopWatch class, as the returned
timestamps cannot be transformed to Dates etc., but it will add precision to the stopwatch
aspect (as opposed to the timewatch aspect) of the class.
Perhaps the way to go is to introduce a new HighPrecisionStopWatch class.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message