org.databene.contiperf.clock
Class CpuClock
java.lang.Object
org.databene.contiperf.clock.AbstractClock
org.databene.contiperf.clock.CpuClock
- All Implemented Interfaces:
- Clock
public class CpuClock
- extends AbstractClock
Clock
implementation which provides the CPU time of the current thread
via ThreadMXBean.getCurrentThreadCpuTime()
Created: 23.05.2012 07:53:29
- Since:
- 2.2.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
CpuClock
public CpuClock()
getTime
public long getTime()
Copyright © 2013. All Rights Reserved.