| 516 | } |
| 517 | |
| 518 | void |
| 519 | hardclock_sync(int cpu) |
| 520 | { |
| 521 | int *t; |
| 522 | KASSERT(!CPU_ABSENT(cpu), ("Absent CPU %d", cpu)); |
| 523 | t = DPCPU_ID_PTR(cpu, pcputicks); |
| 524 | |
| 525 | *t = ticks; |
| 526 | } |
| 527 | |
| 528 | /* |
| 529 | * Compute number of ticks in the specified amount of time. |
no outgoing calls
no test coverage detected