|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.pxlab.pxl.tools.timing.TimerGranularity
public class TimerGranularity
Compute the granularity of the PXLab high resolution timer. This class reads timer values and counts how many values may be read while the timer does not change its value. It also checks what the average difference between two succesive different timer values is. If the number of read operations at a single timer value is 1 then the timer changes value at each read operation. This means that the actual granularity could not be determined since reading the timer and checking whether the value read is different from the prviously read value takes longer as the granularity of the timer.
| Constructor Summary | |
|---|---|
TimerGranularity()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerGranularity()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||