![]() |
Rosetta Utilities
2014.16.56682
|
#include <Timer.hh>
Public Member Functions | |
| Timer (const char *tag) | |
| Timer (basic::Tracer::TracerProxy &t, const char *tag=NULL) | |
| Timer () | |
| ~Timer () | |
| void | Report (const char *tag=NULL) |
| void | Reset () |
| double | GetTime () |
Private Attributes | |
| struct timeval start | end |
| const char * | tag_ |
| basic::Tracer::TracerProxy * | t_ |
| basic::gpu::Timer::Timer | ( | basic::Tracer::TracerProxy & | t, |
| const char * | tag = NULL |
||
| ) |
References Reset(), basic::options::OptionKeys::in::file::t, t_, tag, and tag_.
| double basic::gpu::Timer::GetTime | ( | ) |
References end, and basic::options::OptionKeys::cutoutdomain::start.
Referenced by Report().
| void basic::gpu::Timer::Report | ( | const char * | tag = NULL | ) |
References utility::io::oc::cout, GetTime(), t_, and tag_.
Referenced by ~Timer().
| void basic::gpu::Timer::Reset | ( | ) |
References basic::options::OptionKeys::cutoutdomain::start.
Referenced by Timer().
|
private |
Referenced by GetTime().
|
private |
1.8.7