#include <profilergraph.h>
Classes | |
struct | Meta |
struct | Piece |
Public Member Functions | |
ProfilerGraph ()=default | |
void | put (const Profiler::GraphValues &values) |
void | draw (s32 x_left, s32 y_bottom, video::IVideoDriver *driver, gui::IGUIFont *font) const |
Public Attributes | |
u32 | m_log_max_size = 200 |
Private Attributes | |
std::deque< Piece > | m_log |
|
default |
void ProfilerGraph::draw | ( | s32 | x_left, |
s32 | y_bottom, | ||
video::IVideoDriver * | driver, | ||
gui::IGUIFont * | font ) const |
References ProfilerGraph::Meta::color, m_log, m_log_max_size, ProfilerGraph::Meta::max, ProfilerGraph::Meta::min, porting::mt_snprintf(), p(), and utf8_to_wide().
Referenced by Game::drawScene().
void ProfilerGraph::put | ( | const Profiler::GraphValues & | values | ) |
References m_log, and m_log_max_size.
Referenced by Game::updateProfilerGraphs().