#include <timing.hpp>
Public Member Functions | |
FStats () | |
Constructor. More... | |
void | reset () |
Reset the statistics. More... | |
void | tic () |
Start timing. More... | |
void | toc () |
Stop timing. More... | |
void | join (FStats &rhs) |
Public Attributes | |
casadi_int | n_call = 0 |
Accumulated number of calls since last reset. More... | |
double | t_wall = 0 |
Accumulated wall time [s] since last reset. More... | |
double | t_proc = 0 |
Accumulated proc time [s] since last reset. More... | |
casadi::FStats::FStats | ( | ) |
Definition at line 31 of file timing.cpp.
void casadi::FStats::join | ( | FStats & | rhs | ) |
Definition at line 59 of file timing.cpp.
void casadi::FStats::reset | ( | ) |
Definition at line 34 of file timing.cpp.
void casadi::FStats::tic | ( | ) |
Definition at line 40 of file timing.cpp.
Referenced by casadi::LinsolCall< Tr >::eval(), casadi::ScopedTiming::ScopedTiming(), and casadi::Linsol::solve().
void casadi::FStats::toc | ( | ) |
casadi_int casadi::FStats::n_call = 0 |
Definition at line 75 of file timing.hpp.
Referenced by join().
double casadi::FStats::t_proc = 0 |
Definition at line 81 of file timing.hpp.
Referenced by join().
double casadi::FStats::t_wall = 0 |
Definition at line 78 of file timing.hpp.
Referenced by join().