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

Function realtimer_clocktime

freebsd/kern/kern_time.c:1569–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1567}
1568
1569static void
1570realtimer_clocktime(clockid_t id, struct timespec *ts)
1571{
1572 if (id == CLOCK_REALTIME)
1573 getnanotime(ts);
1574 else /* CLOCK_MONOTONIC */
1575 getnanouptime(ts);
1576}
1577
1578int
1579itimer_accept(struct proc *p, int timerid, ksiginfo_t *ksi)

Callers 3

realtimer_gettimeFunction · 0.85
realtimer_settimeFunction · 0.85
realtimer_expireFunction · 0.85

Calls 2

getnanotimeFunction · 0.85
getnanouptimeFunction · 0.85

Tested by

no test coverage detected