22    using clock = std::chrono::steady_clock;
 
   23    using ms    = std::chrono::duration<double, std::milli>;
 
   51        void Log( 
const char* aStep, 
const wxString& aExtra = wxEmptyString )
 
   53            auto now = clock::now();
 
   54            double step_ms  = 
ms( now - 
m_last ).count();
 
   58            KI_TRACE( wxT(
"KI_TRACE_SYM_CHOOSER"), wxT(
"step=%s step_ms=%.3f total_ms=%.3f mode=%s%s%s\n"),
 
   59                      wxString::FromUTF8( aStep ).c_str(), step_ms, total_ms,
 
   61                      aExtra.IsEmpty() ? wxT(
"") : wxT(
" "),
 
 
 
   69    inline void LogRaw( 
const char* aStep, 
double aStepMs, 
double aTotalMs, 
const wxString& aExtra = wxEmptyString )
 
   71        KI_TRACE( wxT(
"KI_TRACE_SYM_CHOOSER"), wxT(
"step=%s step_ms=%.3f total_ms=%.3f mode=%s%s%s\n"),
 
   72                  wxString::FromUTF8( aStep ).c_str(), aStepMs, aTotalMs,
 
   74                  aExtra.IsEmpty() ? wxT(
"") : wxT(
" "),
 
 
 
void Log(const char *aStep, const wxString &aExtra=wxEmptyString)
 
void LogRaw(const char *aStep, double aStepMs, double aTotalMs, const wxString &aExtra=wxEmptyString)
 
std::chrono::steady_clock clock
 
std::chrono::duration< double, std::milli > ms
 
clock::time_point g_start_time
 
wxLogTrace helper definitions.
 
#define KI_TRACE(aWhat,...)