MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / fork_event

Function fork_event

src/executor/memory/module_artifacts.rs:840–848  ·  view source on GitHub ↗
(child_pid: pid_t, parent_pid: pid_t, timestamp: u64)

Source from the content-addressed store, hash-verified

838 }
839
840 fn fork_event(child_pid: pid_t, parent_pid: pid_t, timestamp: u64) -> MemtrackEvent {
841 MemtrackEvent {
842 pid: child_pid,
843 tid: child_pid,
844 timestamp,
845 addr: 0,
846 kind: MemtrackEventKind::Fork { parent_pid },
847 }
848 }
849
850 fn exec_event(pid: pid_t, timestamp: u64) -> MemtrackEvent {
851 MemtrackEvent {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected