Rcpp Version 1.0.9
|
#include <Timer.h>
Public Member Functions | |
Timer () | |
Timer (nanotime_t start_time_) | |
void | step (const std::string &name) |
operator SEXP () const | |
nanotime_t | now () const |
nanotime_t | origin () const |
Static Public Member Functions | |
static std::vector< Timer > | get_timers (int n) |
Private Types | |
typedef std::pair< std::string, nanotime_t > | Step |
typedef std::vector< Step > | Steps |
Private Attributes | |
Steps | data |
const nanotime_t | start_time |
|
private |
|
private |
|
inline |
Definition at line 105 of file Timer.h.
Referenced by get_timers().
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 112 of file Timer.h.
References Rcpp::AttributeProxyPolicy< CLASS >::attr(), data, and start_time.
|
inline |
Definition at line 132 of file Timer.h.
References start_time.
|
inline |
|
private |
Definition at line 140 of file Timer.h.
Referenced by operator SEXP(), and step().
|
private |
Definition at line 141 of file Timer.h.
Referenced by operator SEXP(), and origin().