Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

startInstrumentation

Start Cachegrind instrumentation if not already enabled. Use this in combination with std.valgrind.cachegrind.stopInstrumentation and --instr-at-start to measure only part of a client program's execution.

cachegrind.startInstrumentation
pub fn startInstrumentation() void

File

lib/std/valgrind/cachegrind.zig:20

Code

pub fn startInstrumentation() void {
    doClientRequestStmt(.StartInstrumentation, 0, 0, 0, 0, 0);
}