| 157 | } |
| 158 | |
| 159 | static void |
| 160 | clock_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 | |
| 170 | void |
| 171 | clock_dbgprint_bcd(device_t dev, int rw, const struct bcd_clocktime *bct) |
no test coverage detected