HelenOS sources

thread_update_accounting  286 kernel/generic/include/proc/thread.h extern void thread_update_accounting(bool);
thread_update_accounting  117 kernel/generic/src/interrupt/interrupt.c 		thread_update_accounting(true);
thread_update_accounting  524 kernel/generic/src/proc/task.c 				thread_update_accounting(false);
thread_update_accounting  147 kernel/generic/src/syscall/syscall.c 	thread_update_accounting(true);
thread_update_accounting  197 kernel/generic/src/syscall/syscall.c 	thread_update_accounting(false);
HelenOS homepage, sources at GitHub