Skip to documentation
SLOP

tiny.coz.uninstallProfiler

Reference tiny.coz uninstallProfiler

Defined in tiny.coz.

Called byCallsRuntimestoptest 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.cozuninstallProfiler
Static calls · unresolved targets: 0 · external targets: 3.

Source

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

zig
pub fn uninstallProfiler(instance: *Profiler) void {    lockActiveProfiler();    defer active_profiler_mutex.unlock();    if (active_profiler) |active| {        if (active.instance == instance) {            active_profiler_signal.store(0, .release);            _ = active_profiler_generation.fetchAdd(1, .release);            active_profiler = null;        }    }}

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

zig
pub const uninstallProfiler = runtime.uninstallProfiler;

Complete caller list

9 direct callers.

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433