Helper object, useful for measurement of CPU-performance of highly-recursive structures, e.g.
More...
Helper object, useful for measurement of CPU-performance of highly-recursive structures, e.g.
Data-On-Demand service, complex algorithms, etc...
class MyClass ...
{
public:
void doSomethingRecursive() const
{
...
LockedChrono timer ( m_chrono , m_lock ) ;
...
if ( ... ) { doSomethingRecursive () ; }
...
}
private:
mutable bool m_lock ;
};
- Author
- Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
- Date
- 2009-08-10
Definition at line 54 of file LockedChrono.h.