Clingo
|
The profiling data. More...
#include <profile.hh>
Public Member Functions | |
ProfileStats ()=default | |
The default constructor. | |
void | reset () |
Reset the profiling data to zero. | |
void | accumulate (ProfileStats const &stats, bool nested=false) |
Accumulate the given step stats into this stats object. | |
void | print (std::ostream &out, ProfileIndent indent) const |
Print the profiling data to the given output stream. | |
auto | score () const -> double |
Compute a score for sorting profile nodes based on time. | |
The profiling data.
|
inline |
Accumulate the given step stats into this stats object.
For nested stats, timing information is not accumulated because it is assumed that the parent already contains the timing information.