|
Apache Mesos
|
#include <timer.hpp>
Public Member Functions | |
| Timer (const std::string &name, const Option< Duration > &window=None()) | |
| Future< double > | value () const override |
| void | start () |
| T | stop () |
| template<typename U > | |
| Future< U > | time (const Future< U > &future) |
Public Member Functions inherited from process::metrics::Metric | |
| virtual | ~Metric () |
| const std::string & | name () const |
| Option< Statistics< double > > | statistics () const |
Additional Inherited Members | |
Protected Member Functions inherited from process::metrics::Metric | |
| Metric (const std::string &name, const Option< Duration > &window) | |
| void | push (double value) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements process::metrics::Metric.
1.8.11