public class DebugTimerTest extends Object
Modifier and Type | Field and Description |
---|---|
private static ThreadMXBean |
threadMXBean |
Constructor and Description |
---|
DebugTimerTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkCapabilities() |
private static long |
spin(long ms)
Actively spins the current thread for at least a given number of milliseconds in such a way
that timers for the current thread keep ticking over.
|
void |
test1() |
void |
test2() |
void |
test3() |
private static final ThreadMXBean threadMXBean
public DebugTimerTest()
public void checkCapabilities()
private static long spin(long ms)
ms
public void test1()
public void test2()
public void test3()