Protected
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: anyOptional
functionJpName: stringTrue if $start is a valid join point for the 'measure' function
Class that measures the energy spent when executing a section of code.