GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes
radix::util::Profiler Class Reference

#include <external/RadixEngine/include/radix/util/Profiler.hpp>

Public Member Functions

 Profiler (const std::string &name)
 
Profileroperator[] (const std::string &key)
 
void start ()
 
void stop ()
 
std::string name () const
 
decltype(m_beginbegin () const
 
decltype(m_endend () const
 
std::string dump () const
 

Protected Attributes

std::string m_name
 
std::chrono::time_point
< std::chrono::high_resolution_clock > 
m_begin
 
std::chrono::time_point
< std::chrono::high_resolution_clock > 
m_end
 
std::map< std::string, Profilerm_subprofilers
 

Constructor & Destructor Documentation

radix::util::Profiler::Profiler ( const std::string &  name)
inline

Member Function Documentation

decltype(m_begin) radix::util::Profiler::begin ( ) const
inline
std::string radix::util::Profiler::dump ( ) const
decltype(m_end) radix::util::Profiler::end ( ) const
inline
std::string radix::util::Profiler::name ( ) const
inline
Profiler& radix::util::Profiler::operator[] ( const std::string &  key)
inline
void radix::util::Profiler::start ( )
inline
void radix::util::Profiler::stop ( )
inline

Field Documentation

std::chrono::time_point<std::chrono::high_resolution_clock> radix::util::Profiler::m_begin
protected
std::chrono::time_point<std::chrono::high_resolution_clock> radix::util::Profiler::m_end
protected
std::string radix::util::Profiler::m_name
protected
std::map<std::string, Profiler> radix::util::Profiler::m_subprofilers
protected

The documentation for this class was generated from the following files: