ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <Benchmark.h>
Public Member Functions | |
Benchmark (const std::string &name) | |
void | start () |
void | stop (size_t interval_count=1) |
std::string | toString () const |
Public Member Functions inherited from etiss::ToString | |
ToString () | |
virtual | ~ToString () |
Public Attributes | |
clock_ | clock_inst |
const std::string | name_ |
std::list< std::pair< double, double > > | interval_ns |
Private Attributes | |
std::pair< double, double > | cur |
bool | state |
Definition at line 66 of file Benchmark.h.
|
inline |
Definition at line 71 of file Benchmark.h.
|
inline |
Definition at line 72 of file Benchmark.h.
References etiss::Benchmark< clock_ >::clock_inst, etiss::Benchmark< clock_ >::cur, etiss::Benchmark< clock_ >::state, and unlikely.
|
inline |
Definition at line 81 of file Benchmark.h.
References etiss::Benchmark< clock_ >::clock_inst, etiss::Benchmark< clock_ >::cur, etiss::Benchmark< clock_ >::interval_ns, etiss::Benchmark< clock_ >::state, and unlikely.
|
inline |
Definition at line 92 of file Benchmark.h.
References etiss::benchmark::averageTime(), etiss::Benchmark< clock_ >::interval_ns, and etiss::Benchmark< clock_ >::name_.
clock_ etiss::Benchmark< clock_ >::clock_inst |
Definition at line 69 of file Benchmark.h.
Referenced by etiss::Benchmark< clock_ >::start(), and etiss::Benchmark< clock_ >::stop().
|
private |
Definition at line 101 of file Benchmark.h.
Referenced by etiss::Benchmark< clock_ >::start(), and etiss::Benchmark< clock_ >::stop().
std::list<std::pair<double, double> > etiss::Benchmark< clock_ >::interval_ns |
Definition at line 91 of file Benchmark.h.
Referenced by etiss::Benchmark< clock_ >::stop(), and etiss::Benchmark< clock_ >::toString().
const std::string etiss::Benchmark< clock_ >::name_ |
Definition at line 70 of file Benchmark.h.
Referenced by etiss::Benchmark< clock_ >::toString().
|
private |
Definition at line 102 of file Benchmark.h.
Referenced by etiss::Benchmark< clock_ >::start(), and etiss::Benchmark< clock_ >::stop().