Timer structure. More...
#include <timer.hh>

Public Types | |
| typedef Proxy< void > | category |
| typedef timer | exact_t |
Public Member Functions | |
| double | ms () const |
| void | operator= (const timer &) |
| float | read () const |
| void | reset () |
| void | restart () |
| void | resume () |
| void | start () |
| float | stop () |
| float | subj_ () |
| timer (const timer &) | |
| timer () | |
| ~timer () | |
Private Attributes | |
| bool | running_ |
| float | start_ |
| float | time_ |
Timer structure.
Definition at line 45 of file mln/util/timer.hh.
typedef Proxy<void> mln::Proxy< timer >::category [inherited] |
Reimplemented from mln::Object< timer >.
Definition at line 234 of file core/concept/proxy.hh.
| timer::timer | ( | ) | [inline] |
Definition at line 99 of file mln/util/timer.hh.
References reset().
| mln::util::timer::timer | ( | const timer & | ) |
| timer::~timer | ( | ) | [inline] |
Definition at line 105 of file mln/util/timer.hh.
References reset().
| double mln::util::timer::ms | ( | ) | const [inline] |
Definition at line 83 of file mln/util/timer.hh.
| void mln::util::timer::operator= | ( | const timer & | ) |
| float timer::read | ( | ) | const [inline] |
| void timer::reset | ( | ) | [inline] |
Definition at line 141 of file mln/util/timer.hh.
References running_, start_, and time_.
Referenced by mln::morpho::tree::impl::generic::dual_union_find(), restart(), timer(), and ~timer().
| void timer::restart | ( | ) | [inline] |
Definition at line 150 of file mln/util/timer.hh.
References reset(), and start().
Referenced by mln::morpho::tree::impl::generic::dual_union_find().
| void timer::resume | ( | ) | [inline] |
Definition at line 132 of file mln/util/timer.hh.
References running_, and start_.
Referenced by mln::morpho::tree::internal::find_root().
| void timer::start | ( | ) | [inline] |
Definition at line 112 of file mln/util/timer.hh.
References running_, start_, and time_.
Referenced by mln::morpho::tree::impl::dual_hqueue(), mln::morpho::tree::impl::generic::dual_union_find(), mln::registration::impl::registration1(), mln::registration::impl::registration2(), mln::registration::impl::registration3(), and restart().
| float timer::stop | ( | ) | [inline] |
Definition at line 122 of file mln/util/timer.hh.
References running_, start_, and time_.
Referenced by mln::morpho::tree::internal::find_root().
| float timer::subj_ | ( | ) | [inline] |
Definition at line 169 of file mln/util/timer.hh.
bool mln::util::timer::running_ [private] |
float mln::util::timer::start_ [private] |
float mln::util::timer::time_ [private] |
1.7.1