Home
last modified time | relevance | path

Searched refs:last_time (Results 1 – 11 of 11) sorted by relevance

/haiku/src/tests/system/kernel/scheduler/
H A Doverride_types.h38 bigtime_t last_time; member
H A Dmain.cpp106 fThread.last_time = system_time(); in Thread()
/haiku/src/system/kernel/scheduler/
H A Dscheduler_thread.h223 fThread->last_time = system_time(); in StartCPUTime()
234 fThread->kernel_time += system_time() - fThread->last_time; in StopCPUTime()
235 fThread->last_time = 0; in StopCPUTime()
H A Dscheduler.cpp279 thread->last_time = system_time(); in scheduler_new_thread_entry()
/haiku/src/system/kernel/arch/arm/
H A Dasm_offsets.cpp41 DEFINE_OFFSET_MACRO(THREAD, Thread, last_time); in dummy()
/haiku/src/libs/uuid/
H A Dgen_uuid.c377 THREAD_LOCAL time_t last_time = 0; in uuid_generate_time() local
382 if (now > last_time+1) in uuid_generate_time()
388 last_time = time(0); in uuid_generate_time()
/haiku/src/system/kernel/arch/m68k/
H A Dasm_offsets.cpp34 DEFINE_OFFSET_MACRO(THREAD, Thread, last_time); in dummy()
/haiku/src/system/kernel/arch/x86/
H A Dasm_offsets.cpp45 DEFINE_OFFSET_MACRO(THREAD, Thread, last_time); in dummy()
/haiku/headers/private/kernel/
H A Dthread_types.h545 bigtime_t last_time; // protected by time_lock member
797 if (!ignoreCurrentRun && last_time != 0) in CPUTime()
798 time += system_time() - last_time; in CPUTime()
/haiku/src/system/kernel/
H A Dthread.cpp200 last_time(0), in Thread()
1225 if (thread->last_time != 0) { in fill_thread_info()
1226 const bigtime_t current = system_time() - thread->last_time; in fill_thread_info()
2093 thread->kernel_time += now - thread->last_time; in thread_exit()
2094 thread->last_time = now; in thread_exit()
2352 thread->user_time += now - thread->last_time; in thread_at_kernel_entry()
2353 thread->last_time = now; in thread_at_kernel_entry()
2383 thread->kernel_time += now - thread->last_time; in thread_at_kernel_exit()
2384 thread->last_time = now; in thread_at_kernel_exit()
2406 thread->kernel_time += now - thread->last_time; in thread_at_kernel_exit_no_signals()
[all …]
H A Dteam.cpp951 if (thread->last_time != 0) { in CPUTime()
953 time += now - thread->last_time; in CPUTime()
982 if (thread->last_time != 0 && !thread->in_kernel) in UserCPUTime()
983 time += now - thread->last_time; in UserCPUTime()