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

Function clock_dbgprint_hdr

freebsd/kern/subr_rtc.c:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static void
160clock_dbgprint_hdr(device_t dev, int rw)
161{
162 struct timespec now;
163
164 getnanotime(&now);
165 device_printf(dev, "%s at ", (rw & CLOCK_DBG_READ) ? "read " : "write");
166 clock_print_ts(&now, 9);
167 printf(": ");
168}
169
170void
171clock_dbgprint_bcd(device_t dev, int rw, const struct bcd_clocktime *bct)

Callers 4

clock_dbgprint_bcdFunction · 0.85
clock_dbgprint_ctFunction · 0.85
clock_dbgprint_errFunction · 0.85
clock_dbgprint_tsFunction · 0.85

Calls 4

getnanotimeFunction · 0.85
device_printfFunction · 0.85
clock_print_tsFunction · 0.85
printfFunction · 0.70

Tested by

no test coverage detected