JQuantify is a Java package providing lightweight statistics describing the frequency and duration of application-specific events. Developers use a simple API to insert count-points or start/stop boundaries at appropriate places within their system.
Now available in Maven Central repository using
<dependency>
<groupId>com.berryworks</groupId>
<artifactId>jquantify</artifactId>
<version>4.1.3</version>
</dependency>