Skip to content

Class TempLat::PoorMansProfile

ClassList > TempLat > PoorMansProfile

A class for the poor man's profiling: prints out the map upon destruction. More...

  • #include <poormansprofile.h>

Public Functions

Type Name
void Add (const std::string & value)
PoorMansProfile ()
~PoorMansProfile ()

Public Static Functions

Type Name
void TrackMe ()
And here our poor mans profiler: call this function to manually track where the most calls to a function come from.

Detailed Description

Unit test: ctest -R test-poormansprofile

Public Functions Documentation

function Add

inline void TempLat::PoorMansProfile::Add (
    const std::string & value
) 

function PoorMansProfile

inline TempLat::PoorMansProfile::PoorMansProfile () 

function ~PoorMansProfile

inline TempLat::PoorMansProfile::~PoorMansProfile () 

Public Static Functions Documentation

function TrackMe

And here our poor mans profiler: call this function to manually track where the most calls to a function come from.

static inline void TempLat::PoorMansProfile::TrackMe () 



The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/debug/poormansprofile.h