Package net.sourceforge.pmd.benchmark
Interface TimedOperation
- All Superinterfaces:
AutoCloseable
Describes a timed operation. It's
AutoCloseable, for ease of use.-
Method Summary
-
Method Details
-
close
void close()Stops tracking if not already stopped.- Specified by:
closein interfaceAutoCloseable
-
close
void close(int extraDataCounter) Stops tracking if not already stopped.- Parameters:
extraDataCounter- An optional additional data counter to track along the measurements. Users are free to track any extra value they want (ie: number of analyzed nodes, iterations in a loop, etc.)
-