HelenOS sources
CPU_LOCAL 139 kernel/arch/arm64/src/interrupt.c CPU_LOCAL->missed_clock_ticks++;
CPU_LOCAL 124 kernel/arch/ia64/src/drivers/it.c CPU_LOCAL->missed_clock_ticks++;
CPU_LOCAL 123 kernel/arch/mips32/src/interrupt.c CPU_LOCAL->missed_clock_ticks++;
CPU_LOCAL 119 kernel/arch/sparc64/src/drivers/tick.c CPU_LOCAL->missed_clock_ticks++;
CPU_LOCAL 106 kernel/generic/src/cpu/cpu.c CPU_LOCAL->idle = false;
CPU_LOCAL 107 kernel/generic/src/cpu/cpu.c CPU_LOCAL->last_cycle = get_cycle();
CPU_LOCAL 120 kernel/generic/src/interrupt/interrupt.c if (CPU && CPU_LOCAL->idle) {
CPU_LOCAL 122 kernel/generic/src/interrupt/interrupt.c atomic_time_increment(&CPU->idle_cycles, now - CPU_LOCAL->last_cycle);
CPU_LOCAL 123 kernel/generic/src/interrupt/interrupt.c CPU_LOCAL->last_cycle = now;
CPU_LOCAL 124 kernel/generic/src/interrupt/interrupt.c CPU_LOCAL->idle = false;
CPU_LOCAL 289 kernel/generic/src/main/main.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CPU_LOCAL 290 kernel/generic/src/main/main.c context_replace(scheduler_run, CPU_LOCAL->stack, STACK_SIZE);
CPU_LOCAL 335 kernel/generic/src/main/main.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CPU_LOCAL 336 kernel/generic/src/main/main.c context_replace(main_ap_separated_stack, CPU_LOCAL->stack, STACK_SIZE);
CPU_LOCAL 179 kernel/generic/src/proc/scheduler.c CPU_LOCAL->idle = true;
CPU_LOCAL 229 kernel/generic/src/proc/scheduler.c if (CPU_LOCAL->current_clock_tick < CPU_LOCAL->relink_deadline)
CPU_LOCAL 232 kernel/generic/src/proc/scheduler.c CPU_LOCAL->relink_deadline = CPU_LOCAL->current_clock_tick + NEEDS_RELINK_MAX;
CPU_LOCAL 360 kernel/generic/src/proc/scheduler.c CPU_LOCAL->preempt_deadline =
CPU_LOCAL 361 kernel/generic/src/proc/scheduler.c CPU_LOCAL->current_clock_tick + us2ticks(time_to_run);
CPU_LOCAL 507 kernel/generic/src/proc/scheduler.c CPU_LOCAL->prev_thread = old_thread;
CPU_LOCAL 519 kernel/generic/src/proc/scheduler.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CPU_LOCAL 520 kernel/generic/src/proc/scheduler.c context_swap(&THREAD->saved_context, &CPU_LOCAL->scheduler_context);
CPU_LOCAL 527 kernel/generic/src/proc/scheduler.c if (CPU_LOCAL->prev_thread) {
CPU_LOCAL 528 kernel/generic/src/proc/scheduler.c cleanup_after_thread(CPU_LOCAL->prev_thread);
CPU_LOCAL 529 kernel/generic/src/proc/scheduler.c CPU_LOCAL->prev_thread = NULL;
CPU_LOCAL 566 kernel/generic/src/proc/scheduler.c context_swap(&CPU_LOCAL->scheduler_context, &THREAD->saved_context);
CPU_LOCAL 601 kernel/generic/src/proc/scheduler.c if (CPU_LOCAL->prev_thread) {
CPU_LOCAL 602 kernel/generic/src/proc/scheduler.c cleanup_after_thread(CPU_LOCAL->prev_thread);
CPU_LOCAL 603 kernel/generic/src/proc/scheduler.c CPU_LOCAL->prev_thread = NULL;
CPU_LOCAL 127 kernel/generic/src/time/clock.c atomic_time_increment(&CPU->busy_cycles, now - CPU_LOCAL->last_cycle);
CPU_LOCAL 128 kernel/generic/src/time/clock.c CPU_LOCAL->last_cycle = now;
CPU_LOCAL 140 kernel/generic/src/time/clock.c size_t missed_clock_ticks = CPU_LOCAL->missed_clock_ticks;
CPU_LOCAL 141 kernel/generic/src/time/clock.c CPU_LOCAL->missed_clock_ticks = 0;
CPU_LOCAL 143 kernel/generic/src/time/clock.c CPU_LOCAL->current_clock_tick += missed_clock_ticks + 1;
CPU_LOCAL 144 kernel/generic/src/time/clock.c uint64_t current_clock_tick = CPU_LOCAL->current_clock_tick;
CPU_LOCAL 189 kernel/generic/src/time/clock.c if (current_clock_tick >= CPU_LOCAL->preempt_deadline && PREEMPTION_ENABLED) {
CPU_LOCAL 79 kernel/generic/src/time/timeout.c return CPU_LOCAL->current_clock_tick + us2ticks(usec);
HelenOS homepage, sources at GitHub