Home
last modified time | relevance | path

Searched refs:tsc_tick_count (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats_timing.h24 class tsc_tick_count {
45 friend class tsc_tick_count; variable
47 friend tsc_interval_t operator-(const tsc_tick_count &t1,
48 const tsc_tick_count &t0);
49 friend tsc_interval_t operator-(const tsc_tick_count::tsc_interval_t &i1,
50 const tsc_tick_count::tsc_interval_t &i0);
51 friend tsc_interval_t &operator+=(tsc_tick_count::tsc_interval_t &i1,
52 const tsc_tick_count::tsc_interval_t &i0);
56 tsc_tick_count() in tsc_tick_count() function
59 tsc_tick_count() : my_count(static_cast<int64_t>(__rdtsc())) {} in tsc_tick_count() function
[all …]
H A Dkmp_stats.cpp241 void explicitTimer::start(tsc_tick_count tick) { in start()
250 void explicitTimer::stop(tsc_tick_count tick, in stop()
280 timer_stack.back().start(tsc_tick_count::now()); in init()
299 tsc_tick_count tick = tsc_tick_count::now(); in push()
315 tsc_tick_count tick = tsc_tick_count::now(); in pop()
329 tsc_tick_count tick = tsc_tick_count::now(); in exchange()
349 timer_stack.back().stop(tsc_tick_count::now()); in windup()
913 __kmp_stats_start_time = tsc_tick_count::now(); in __kmp_stats_init()
H A Dkmp_stats.h493 tsc_tick_count startTime;
494 tsc_tick_count pauseStartTime;
495 tsc_tick_count::tsc_interval_t totalPauseTime;
503 void start(tsc_tick_count tick);
504 void pause(tsc_tick_count tick) { pauseStartTime = tick; } in pause()
505 void resume(tsc_tick_count tick) { in resume()
508 void stop(tsc_tick_count tick, kmp_stats_list *stats_ptr = nullptr);
754 inline void startLife() { thread_life_timer.start(tsc_tick_count::now()); } in startLife()
755 inline void endLife() { thread_life_timer.stop(tsc_tick_count::now(), this); } in endLife()
877 extern tsc_tick_count __kmp_stats_start_time;
H A Dkmp_stats_timing.cpp27 double tsc_tick_count::tick_time() { in tick_time()
34 double tsc_tick_count::tick_time() { in tick_time()
H A Dkmp_global.cpp38 tsc_tick_count __kmp_stats_start_time;