|
Cambridge SMT System
|
#include <data.stats.hpp>
Public Member Functions | |
| void | setTimeStart (const std::string &key) |
| Store absolute timing value last thing, just before executing. More... | |
| void | setTimeEnd (const std::string &key) |
| Store absolute timing value right after an execution. More... | |
| void | write (std::ostream &o) |
| Dumps time measurements as a list of pairs key1:time1 key2:time2 ... Each key is expected to be semantically related to the function(s). Time in ms. More... | |
Public Attributes | |
| unordered_map< std::string, std::vector< timeb > > | time1 |
| Stores absolute time for a key prior to executing function. More... | |
| unordered_map< std::string, std::vector< timeb > > | time2 |
| Stores absolute time for a key after executing function. More... | |
Definition at line 26 of file data.stats.hpp.
|
inline |
Store absolute timing value right after an execution.
Definition at line 39 of file data.stats.hpp.

|
inline |
Store absolute timing value last thing, just before executing.
Definition at line 33 of file data.stats.hpp.

|
inline |
Dumps time measurements as a list of pairs key1:time1 key2:time2 ... Each key is expected to be semantically related to the function(s). Time in ms.
| o | File or pipe to dump timings |
Definition at line 53 of file data.stats.hpp.

| unordered_map<std::string, std::vector<timeb> > ucam::fsttools::SpeedStatsData::time1 |
Stores absolute time for a key prior to executing function.
Definition at line 28 of file data.stats.hpp.
| unordered_map<std::string, std::vector<timeb> > ucam::fsttools::SpeedStatsData::time2 |
Stores absolute time for a key after executing function.
Definition at line 30 of file data.stats.hpp.