Package org.opencv.core
Class TickMeter
java.lang.Object
org.opencv.core.TickMeter
public class TickMeter extends Object
a Class to measure passing time.
The class computes passing time by counting the number of ticks per second. That is, the following code computes the
execution time in seconds:
SNIPPET: snippets/core_various.cpp TickMeter_total
It is also possible to compute the average time over multiple runs:
SNIPPET: snippets/core_various.cpp TickMeter_average
SEE: getTickCount, getTickFrequency
-
Field Summary
Fields Modifier and Type Field Description protected longnativeObj -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static TickMeter__fromPtr__(long addr)protected voidfinalize()doublegetAvgTimeMilli()doublegetAvgTimeSec()longgetCounter()doublegetFPS()longgetNativeObjAddr()doublegetTimeMicro()doublegetTimeMilli()doublegetTimeSec()longgetTimeTicks()voidreset()voidstart()voidstop()
-
Field Details
-
Constructor Details
-
Method Details