MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / sample_process

Function sample_process

src/runtime_telemetry.rs:166–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164// ---------------------------------------------------------------------------
165
166fn sample_process() -> ProcessSnapshot {
167 sample_process_with_window(CPU_SAMPLE_WINDOW)
168}
169
170fn sample_process_with_window(cpu_sample_window: Duration) -> ProcessSnapshot {
171 let pid = Pid::from_u32(std::process::id());

Callers 1

collectFunction · 0.85

Calls 1

Tested by

no test coverage detected