HomeFreeBSD

Use a (signed) int32_t counter instead of an `unsigned int' counter
rS18968Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Use a (signed) int32_t counter instead of an `unsigned int' counter
for the GPROF4 case. This allows a simpler method to be used for
non-statistical profiling (it allows overhead adjustments to be
subtracted from one counter without harm if that counter goes
negative; otherwise the adjustment would have to be distributed).

32 bit counters were already too small for GPROF4 with a 200MHz
clock. int64_t counters should be used.

Details

Provenance
bdeAuthored on
Parents
rS18967: Oops forgot to remove a debug printf.
Branches
Unknown
Tags
Unknown

Event Timeline