org.databene.contiperf.clock
Class CpuClock

java.lang.Object
  extended by org.databene.contiperf.clock.AbstractClock
      extended by 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

Field Summary
static String NAME
           
 
Constructor Summary
CpuClock()
           
 
Method Summary
 long getTime()
           
 
Methods inherited from class org.databene.contiperf.clock.AbstractClock
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

CpuClock

public CpuClock()
Method Detail

getTime

public long getTime()


Copyright © 2013. All Rights Reserved.