Optional
filename: stringProtected
measureVerifies that join point start is not undefined, that it is inside a function. Additionally, if $end is not undefined, checks if it is inside the same function as $start.
[Requires] global attribute 'ancestor'.
Optional
$start: anyOptional
$end: anyTrue if $start is a valid join point for the 'measure' function
If true, suffixes 'J' to the end of the value.
Class that measures the energy spent when executing a section of code.