HelenOS sources
get_cycle 153 kernel/arch/amd64/src/drivers/i8254.c uint64_t clk1 = get_cycle();
get_cycle 155 kernel/arch/amd64/src/drivers/i8254.c uint64_t clk2 = get_cycle();
get_cycle 153 kernel/arch/ia32/src/drivers/i8254.c uint64_t clk1 = get_cycle();
get_cycle 155 kernel/arch/ia32/src/drivers/i8254.c uint64_t clk2 = get_cycle();
get_cycle 107 kernel/generic/src/cpu/cpu.c CPU_LOCAL->last_cycle = get_cycle();
get_cycle 121 kernel/generic/src/interrupt/interrupt.c uint64_t now = get_cycle();
get_cycle 127 kernel/generic/src/interrupt/interrupt.c uint64_t begin_cycle = get_cycle();
get_cycle 146 kernel/generic/src/interrupt/interrupt.c uint64_t end_cycle = get_cycle();
get_cycle 364 kernel/generic/src/proc/scheduler.c THREAD->last_cycle = get_cycle();
get_cycle 495 kernel/generic/src/proc/scheduler.c atomic_time_increment(&THREAD->kcycles, get_cycle() - THREAD->last_cycle);
get_cycle 793 kernel/generic/src/proc/thread.c uint64_t time = get_cycle();
get_cycle 126 kernel/generic/src/time/clock.c uint64_t now = get_cycle();
HelenOS homepage, sources at GitHub