| plan 9 kernel history: overview | file list | diff list |
1992/0828/power/clock.c (diff list | history)
| 1992/0816/sys/src/9/power/clock.c:115,128 – 1992/0828/sys/src/9/power/clock.c:115,129 (short | long | prev | next) | ||
| 1990/1211 | checkalarms(); | |
| 1991/1011 | kproftimer(ur->pc); | |
| 1992/0816 | if(u && (ur->status&IEP) && u->p->state==Running){ | |
| 1991/0614 |
| |
| 1992/0828 | if(anyready()) { | |
| 1991/0614 | if(u->p->hasspin) u->p->hasspin = 0; /* just in case */ else sched(); } | |
| 1992/0828 | /* user profiling clock */ | |
| 1991/1114 | if(ur->status & KUP) | |
| 1991/0710 |
| |
| 1992/0828 | (*(ulong*)(USTKTOP-BY2WD)) += TK2MS(1); | |
| 1991/0209 | } | |
| 1990/0227 | return; } | |