KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SYM_CHOOSER_TIMING Namespace Reference

Classes

class  STEP_LOGGER
 

Typedefs

using clock = std::chrono::steady_clock
 
using ms = std::chrono::duration<double, std::milli>
 

Functions

void Start ()
 
double TotalMs ()
 
void LogRaw (const char *aStep, double aStepMs, double aTotalMs, const wxString &aExtra=wxEmptyString)
 

Variables

clock::time_point g_start_time
 
bool g_started = false
 
bool g_firstRun = true
 

Typedef Documentation

◆ clock

using SYM_CHOOSER_TIMING::clock = std::chrono::steady_clock

Definition at line 22 of file symbol_chooser_timing.h.

◆ ms

using SYM_CHOOSER_TIMING::ms = std::chrono::duration<double, std::milli>

Definition at line 23 of file symbol_chooser_timing.h.

Function Documentation

◆ LogRaw()

void SYM_CHOOSER_TIMING::LogRaw ( const char * aStep,
double aStepMs,
double aTotalMs,
const wxString & aExtra = wxEmptyString )
inline

Definition at line 69 of file symbol_chooser_timing.h.

References g_firstRun, and KI_TRACE.

◆ Start()

void SYM_CHOOSER_TIMING::Start ( )
inline

Definition at line 29 of file symbol_chooser_timing.h.

References g_start_time, and g_started.

◆ TotalMs()

double SYM_CHOOSER_TIMING::TotalMs ( )
inline

Definition at line 35 of file symbol_chooser_timing.h.

References g_start_time, and g_started.

Variable Documentation

◆ g_firstRun

bool SYM_CHOOSER_TIMING::g_firstRun = true
inline

Definition at line 27 of file symbol_chooser_timing.h.

Referenced by SYM_CHOOSER_TIMING::STEP_LOGGER::Log(), and LogRaw().

◆ g_start_time

clock::time_point SYM_CHOOSER_TIMING::g_start_time
inline

◆ g_started

bool SYM_CHOOSER_TIMING::g_started = false
inline