Skip to documentation
SLOP

tiny.coz.installProfiler

Reference tiny.coz installProfiler

Defined in tiny.coz.

Called byCallsRuntimestarttest sourcelib.coz.src.runtimetest: a profiler reinstalled at a rel...test sourcelib.coz.src.runtimetest: compile-time progress and laten...test sourcelib.coz.src.runtimetest: default progress name uses the ...test sourcelib.coz.src.runtimetest: installed profiler is visible t...+4 moreprivate sourcelib.coz.src.runtimelockActiveProfilertiny.cozinstallProfiler
Static calls · unresolved targets: 0 · external targets: 3.

Source

Source: lib/coz/src/runtime.zig:261

zig
pub fn installProfiler(allocator: std.mem.Allocator, instance: *Profiler) void {    lockActiveProfiler();    defer active_profiler_mutex.unlock();    active_profiler = .{        .allocator = allocator,        .instance = instance,    };    _ = active_profiler_generation.fetchAdd(1, .release);    active_profiler_signal.store(@intFromPtr(instance), .release);}

Source: lib/coz/src/root.zig:72

zig
pub const installProfiler = runtime.installProfiler;

Complete caller list

9 direct callers.

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433