Cadabra
Computer algebra system for field theory problems
|
#include <Stopwatch.hh>
Public Member Functions | |
Stopwatch () | |
void | reset () |
void | start () |
void | stop () |
long | seconds () const |
long | useconds () const |
bool | stopped () const |
Private Member Functions | |
void | checkpoint_ () const |
Private Attributes | |
struct timeval tv1 | tv2 |
struct timezone | tz |
long | diffsec |
long | diffusec |
bool | stopped_ |
Friends | |
std::ostream & | operator<< (std::ostream &, const Stopwatch &) |
Stopwatch::Stopwatch | ( | ) |
|
private |
void Stopwatch::reset | ( | ) |
long Stopwatch::seconds | ( | ) | const |
void Stopwatch::start | ( | ) |
void Stopwatch::stop | ( | ) |
bool Stopwatch::stopped | ( | ) | const |
long Stopwatch::useconds | ( | ) | const |
|
friend |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
|
private |