Define RCSW_GRIND_INTERVAL

Define Documentation

RCSW_GRIND_INTERVAL

Compute all measurements within an absolute time interval.

The grinder timeout will be used.

This behavior is useful for gathering timing metrics on a small piece of a large system (e.g. how long interrupt handlers run).

See also

RCSW_GRIND_AUTO_RESET for what happens on a timeout.

If this flag is not passed, then all statistics will be relatively computed; that is regardless of the “real” amount of time (wall time) all statistics take, all utilization percentages will always add to 100%.