Skip to main content

total_spawn_count

Function total_spawn_count 

Source
pub fn total_spawn_count() -> u64
Expand description

Process-wide spawn counter (see process), the perf guard’s currency. How many git commands the whole process has built so far, on any thread. Unlike the per-thread count it sees the daemon’s worker threads, so the daemon tests and xtask perf use it; callers that share a process with other git users must serialise themselves to diff it.