#include <timetaker.h>
 Collaboration diagram for TimeTaker:Public Member Functions | |
| TimeTaker (const std::string &name, u64 *result=nullptr, TimePrecision prec=PRECISION_MILLI) | |
| ~TimeTaker () | |
| u64 | stop (bool quiet=false) | 
| u64 | getTimerTime () | 
Private Member Functions | |
| void | start () | 
Private Attributes | |
| std::string | m_name | 
| u64 * | m_result = nullptr | 
| u64 | m_time1 | 
| bool | m_running = true | 
| TimePrecision | m_precision | 
      
  | 
  inline | 
      
  | 
  inline | 
| u64 TimeTaker::getTimerTime | ( | ) | 
References porting::getTime(), m_precision, and m_time1.
Referenced by ServerEnvironment::step().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
References porting::getTime(), m_precision, and m_time1.
Referenced by TimeTaker().
 Here is the call graph for this function:
 Here is the caller graph for this function:| u64 TimeTaker::stop | ( | bool | quiet = false | ) | 
References porting::getTime(), infostream, m_name, m_precision, m_result, m_running, m_time1, and TimePrecision_units.
Referenced by ~TimeTaker(), Game::drawScene(), ClientMap::renderMap(), ClientMap::renderMapShadows(), ServerEnvironment::step(), and Game::updateFrame().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Referenced by TimeTaker(), and stop().
      
  | 
  private | 
Referenced by TimeTaker(), getTimerTime(), start(), and stop().
      
  | 
  private | 
Referenced by TimeTaker(), and stop().
      
  | 
  private | 
Referenced by stop().
      
  | 
  private | 
Referenced by getTimerTime(), start(), and stop().