MCPcopy Create free account
hub / github.com/MariaDB/server / timer_tracker_frequency

Function timer_tracker_frequency

sql/sql_analyze_stmt.h:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40/* fake microseconds as cycles if cycles isn't available */
41
42static inline double timer_tracker_frequency()
43{
44#if (MY_TIMER_ROUTINE_CYCLES)
45 return static_cast<double>(sys_timer_info.cycles.frequency);
46#else
47 return static_cast<double>(sys_timer_info.microseconds.frequency);
48#endif
49}
50
51
52class Gap_time_tracker;

Callers 5

print_explainMethod · 0.85
trace_engine_statsFunction · 0.85
writeMethod · 0.85
cycles_to_msMethod · 0.85
get_time_msMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected