PPL API Reference
Overview Core Algorithm Abstractions Utilities Parallel Methods
Modules Class Hierarchy Classes Functions
Todo List Bug List Dead Code
List of all members
MethodTimer Class Referencefinal

Public Member Functions

Construction
 MethodTimer (StatClass *const _stats, const std::string &_label)
 
 ~MethodTimer ()
 Destruction stops the named clock.
 

Detailed Description

A timer object for functions that starts a clock on construction and stops it on destruction.

Constructor & Destructor Documentation

◆ MethodTimer()

MethodTimer::MethodTimer ( StatClass *const  _stats,
const std::string &  _label 
)

Construct a method timer, which starts the named clock.

Parameters
_statsThe stat class which owns the clock.
_labelThe clock label.

The documentation for this class was generated from the following files: