MCPcopy Create free account
hub / github.com/F-Stack/f-stack / calccru

Function calccru

freebsd/kern/kern_resource.c:805–811  ·  view source on GitHub ↗

* Transform the running time and tick information for children of proc p * into user and system time usage. */

Source from the content-addressed store, hash-verified

803 * into user and system time usage.
804 */
805void
806calccru(struct proc *p, struct timeval *up, struct timeval *sp)
807{
808
809 PROC_LOCK_ASSERT(p, MA_OWNED);
810 calcru1(p, &p->p_crux, up, sp);
811}
812
813/*
814 * Transform the running time and tick information in proc p into user

Callers 3

fill_kinfo_proc_onlyFunction · 0.85
proc_to_reapFunction · 0.85
kern_getrusageFunction · 0.85

Calls 1

calcru1Function · 0.85

Tested by

no test coverage detected