A simple library of timing primitives and utilities.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/net/nicktelford/timing/clocks
.gitignore
README.md
pom.xml

README.md

Timing

Simple timing primitives and utilities

Timing provides a set of simple utilities for timing measurements.

Initially, this includes a set of Clocks that provide monotonic measurements of the current time, with varying accuracy and performance characteristics.

NOTE: The license for this project is the Apache Software License version 2.0. LICENSE file to be added shortly.

Requirements

  • Java 1.6

Dependencies

To use timing, simply add it as a dependency:

<dependencies>
  <dependency>
    <groupId>net.nicktelford</groupId>
    <artifactId>timing</artifactId>
    <version>1.0.0</version>
  </dependency>
</dependencies>

Or whatever you need to do to make ivy/sbt/gradle/etc. happy.

Usage

See the JavaDoc in net.nicktelford.timing.clocks.Clock for usage of the Clocks.