stat.h File Reference
The wrapper structure for all statistics in sphinx 3.x.
More...
#include <profile.h>
#include <s3types.h>
#include "sphinx3_export.h"
Go to the source code of this file.
Detailed Description
The wrapper structure for all statistics in sphinx 3.x.
Function Documentation
void stat_clear_corpus |
( |
stat_t * |
st |
) |
|
Clear the corpus statistics
- Parameters:
-
| st | A statistics data structure |
void stat_clear_utt |
( |
stat_t * |
st |
) |
|
Clear the utterance statistics
- Parameters:
-
| st | A statistics data structure |
void stat_free |
( |
stat_t * |
st |
) |
|
Delete the memory of stat_init
- Parameters:
-
| st | A statistics data structure |
Initialized the statistics structure
- Returns:
- a statistics data structure
S3DECODER_EXPORT void stat_report_corpus |
( |
stat_t * |
st |
) |
|
Report the total statistics
- Parameters:
-
| st | A statistics data structure |
Referenced by main().
void stat_report_utt |
( |
stat_t * |
st, |
|
|
char * |
uttid | |
|
) |
| | |
Report the utterance statistics
- Parameters:
-
| st | A statistics data structure |
| uttid | The utterance ID |
void stat_update_corpus |
( |
stat_t * |
st |
) |
|
Update the corpus statistics with the utterance statistics
- Parameters:
-
| st | A statistics data structure |