Functions
fn dumpStatsAt(pos_str: [*]u8) void
Dump current state of cost centers, and zero them afterwards. The argument is a…
Dump current state of cost centers, and zero them afterwards. The argument is appended to a string stating the reason which triggered the dump. This string is written as a description field into the profile data dump.
fn startInstrumentation() void
Start full callgrind instrumentation if not already switched on. When cache sim…
Start full callgrind instrumentation if not already switched on. When cache simulation is done, it will flush the simulated cache; this will lead to an artificial cache warmup phase afterwards with cache misses which would not have happened in reality.
fn stopInstrumentation() void
Stop full callgrind instrumentation if not already switched off. This flushes V…
Stop full callgrind instrumentation if not already switched off. This flushes Valgrinds translation cache, and does no additional instrumentation afterwards, which effectivly will run at the same speed as the “none” tool (ie. at minimal slowdown). Use this to bypass Callgrind aggregation for uninteresting code parts. To start Callgrind in this mode to ignore the setup phase, use the option “–instr-atstart=no”.
fn toggleCollect() void
Toggles collection state. The collection state specifies whether the happening …
Toggles collection state. The collection state specifies whether the happening of events should be noted or if they are to be ignored. Events are noted by increment of counters in a cost center