code_profiler
scoped_timer.h
Go to the documentation of this file.
1 #ifndef TUE_PROFILING_SCOPED_TIMER_H_
2 #define TUE_PROFILING_SCOPED_TIMER_H_
3 
4 #include <string>
5 
6 namespace tue
7 {
8 
9 class Profiler;
10 
12 {
13 
14 public:
15 
16  ScopedTimer(Profiler& profiler, const std::string& label);
17 
18  virtual ~ScopedTimer();
19 
20 private:
21 
23 
24 };
25 
26 }
27 
28 #endif
std::string
tue::ScopedTimer::ScopedTimer
ScopedTimer(Profiler &profiler, const std::string &label)
Definition: scoped_timer.cpp:9
tue::ScopedTimer::~ScopedTimer
virtual ~ScopedTimer()
Definition: scoped_timer.cpp:17
tue::ScopedTimer::profiler_
Profiler & profiler_
Definition: scoped_timer.h:22
profiler
tue::Profiler profiler
Definition: test_profiler.cpp:4
tue::Profiler
Definition: profiler.h:11
tue
Definition: loop_timer.h:8
tue::ScopedTimer
Definition: scoped_timer.h:11
string