The Vish Visualization Shell 0.3
Vish
MemCore::Profiler Struct Reference

Profiling Support. More...

#include <elementary/memcore/Profiler.hpp>

Inheritance diagram for MemCore::Profiler:
MemCore::Timer

Classes

struct  Info
 Source code information. More...

Public Member Functions

 Profiler (const std::string &Filename, int LineNo, const std::string &Routine, const std::string &Entity, int Granularity, const std::string &PerformanceDomain={})
 Constructor, provide a name here that tells the function called here.
 ~Profiler ()
 Destructor.
Public Member Functions inherited from MemCore::Timer
double µsecs () const noexcept
 microseconds elapsed since timer start
auto elapsed () const noexcept
 Get time elapsed since the Timer was constructed.
double get_secs_and_restart () noexcept
 return seconds elapsed since timer start and restart the timer
double microsecs () const noexcept
 microseconds elapsed since timer start
double millisecs () const noexcept
 milliseconds elapsed since timer start
double msecs () const noexcept
 milliseconds elapsed since timer start
double secs () const noexcept
 seconds elapsed since timer start

Additional Inherited Members

Static Public Member Functions inherited from MemCore::Timer
static void sleep (double seconds)
 Sleep a certain number of seconds.

Detailed Description

Profiling Support.