class OnlineTimingStats stores statistics from timing of online decoding, which will enable the Print() function to print out the average real-time factor and average delay per utterance. More...
#include <online-timing.h>
Public Member Functions | |
OnlineTimingStats () | |
void | Print (bool online=true) |
Here, if "online == false" we take into account that the setup was used in not-really-online mode where the chunk length was the whole file. More... | |
Protected Attributes | |
int32 | num_utts_ |
double | total_audio_ |
double | total_time_taken_ |
double | total_time_waited_ |
double | max_delay_ |
std::string | max_delay_utt_ |
Friends | |
class | OnlineTimer |
class OnlineTimingStats stores statistics from timing of online decoding, which will enable the Print() function to print out the average real-time factor and average delay per utterance.
See class OnlineTimer.
Definition at line 41 of file online-timing.h.
Definition at line 24 of file online-timing.cc.
void Print | ( | bool | online = true | ) |
Here, if "online == false" we take into account that the setup was used in not-really-online mode where the chunk length was the whole file.
We need to change the way we interpret the stats and print results, in this case.
Definition at line 29 of file online-timing.cc.
References KALDI_LOG, OnlineTimingStats::max_delay_, OnlineTimingStats::max_delay_utt_, OnlineTimingStats::num_utts_, OnlineTimingStats::total_audio_, OnlineTimingStats::total_time_taken_, and OnlineTimingStats::total_time_waited_.
Referenced by main().
|
friend |
Definition at line 49 of file online-timing.h.
|
protected |
Definition at line 57 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().
|
protected |
Definition at line 58 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().
|
protected |
Definition at line 50 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().
|
protected |
Definition at line 52 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().
|
protected |
Definition at line 53 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().
|
protected |
Definition at line 54 of file online-timing.h.
Referenced by OnlineTimer::OutputStats(), and OnlineTimingStats::Print().