KiCad PCB EDA Suite
profile.h File Reference

: More...

#include <chrono>
#include <string>
#include <iostream>
#include <iomanip>
#include <wx/log.h>

Go to the source code of this file.

Classes

class  PROF_COUNTER
 The class PROF_COUNTER is a small class to help profiling. More...
 

Functions

unsigned GetRunningMicroSecs ()
 Function GetRunningMicroSecs An alternate way to calculate an elapset time (in microsecondes) to class PROF_COUNTER. More...
 

Detailed Description

:

Simple profiling functions for measuring code execution time.

Definition in file profile.h.

Function Documentation

unsigned GetRunningMicroSecs ( )

Function GetRunningMicroSecs An alternate way to calculate an elapset time (in microsecondes) to class PROF_COUNTER.

Returns
an ever increasing indication of elapsed microseconds. Use this by computing differences between two calls.
Author
Dick Hollenbeck

Referenced by CINFO3D_VISU::createLayers(), CINFO3D_VISU::InitSettings(), EDA_3D_CANVAS::OnPaint(), PCB_EDIT_FRAME::OpenProjectFiles(), C3D_RENDER_OGL_LEGACY::reload(), C3D_RENDER_RAYTRACING::reload(), C3D_RENDER_RAYTRACING::render(), EDA_3D_CANVAS::request_start_moving_camera(), C3D_RENDER_RAYTRACING::restart_render_state(), and C3D_RENDER_RAYTRACING::rt_render_tracing().