#include <UWSimUtils.h>
Public Member Functions | |
ScopedTimer (const std::string &description, std::ostream &output_stream=std::cout, bool endline_after_time=true) | |
~ScopedTimer () | |
Private Attributes | |
bool | _endline_after_time |
std::ostream & | _output_stream |
osg::Timer_t | _start |
Definition at line 109 of file UWSimUtils.h.
ScopedTimer::ScopedTimer | ( | const std::string & | description, |
std::ostream & | output_stream = std::cout , |
||
bool | endline_after_time = true |
||
) | [inline] |
Definition at line 112 of file UWSimUtils.h.
ScopedTimer::~ScopedTimer | ( | ) | [inline] |
Definition at line 119 of file UWSimUtils.h.
bool ScopedTimer::_endline_after_time [private] |
Definition at line 132 of file UWSimUtils.h.
std::ostream& ScopedTimer::_output_stream [private] |
Definition at line 130 of file UWSimUtils.h.
osg::Timer_t ScopedTimer::_start [private] |
Definition at line 131 of file UWSimUtils.h.