cvedia::rt::internal::PerformanceBase¶
Public Functions¶
| Name | |
|---|---|
| PerformanceBase() | |
| ~PerformanceBase() | |
| void | setPerformanceCounterEnabled(bool const enable) |
| bool | isPerformanceCounterEnabled() const |
| void | writePerformanceCounter(std::string const & name, float value, int maxHist =200) |
| std::vector< std::pair< std::string, float > > | getAllPerformanceCounters(std::vector< std::string > const & filter =std::vector< std::string >()) |
| std::vector< std::pair< std::string, std::vector< float > > > | getPerformanceCounterStats(std::vector< std::string > const & filter =std::vector< std::string >()) |
| float | getLastPerformanceCounter(std::string const & name) |
| void | updatePerformance() |
| void | resetPerformance() |
| PerformanceBase * | getPerformanceCounterPtr() |
| void | loadProfilerPreset(std::string fileName) |
| bool | saveProfilerPreset(std::string fileName) |
| std::map< std::string, float > | getProfilerPresets() |
| void | setProfilerSimulationEnabled(bool const enabled) |
Public Functions Documentation¶
function PerformanceBase¶
PerformanceBase()
function ~PerformanceBase¶
~PerformanceBase()
function setPerformanceCounterEnabled¶
inline void setPerformanceCounterEnabled(
bool const enable
)
function isPerformanceCounterEnabled¶
inline bool isPerformanceCounterEnabled() const
function writePerformanceCounter¶
void writePerformanceCounter(
std::string const & name,
float value,
int maxHist =200
)
function getAllPerformanceCounters¶
std::vector< std::pair< std::string, float > > getAllPerformanceCounters(
std::vector< std::string > const & filter =std::vector< std::string >()
)
function getPerformanceCounterStats¶
std::vector< std::pair< std::string, std::vector< float > > > getPerformanceCounterStats(
std::vector< std::string > const & filter =std::vector< std::string >()
)
function getLastPerformanceCounter¶
float getLastPerformanceCounter(
std::string const & name
)
function updatePerformance¶
void updatePerformance()
function resetPerformance¶
void resetPerformance()
function getPerformanceCounterPtr¶
inline PerformanceBase * getPerformanceCounterPtr()
function loadProfilerPreset¶
void loadProfilerPreset(
std::string fileName
)
function saveProfilerPreset¶
bool saveProfilerPreset(
std::string fileName
)
function getProfilerPresets¶
inline std::map< std::string, float > getProfilerPresets()
function setProfilerSimulationEnabled¶
inline void setProfilerSimulationEnabled(
bool const enabled
)