|
SDDS ToolKit Programs and Libraries for C and Python
|
Reports elapsed time, CPU time, BIO/DIO counts, page faults, and memory usage to a file.
Definition in file report_stats.c.
#include "mdb.h"Go to the source code of this file.
Functions | |
| long | bio_count () |
| long | dio_count () |
| void | report_stats (FILE *fp, char *label) |
| Reports statistics to a specified file. | |
| void report_stats | ( | FILE * | fp, |
| char * | label ) |
Reports statistics to a specified file.
This function formats and writes various statistics such as elapsed time, CPU time, BIO/DIO counts, page faults, and memory usage to the specified file.
| fp | Pointer to the file where the statistics will be written. |
| label | A label string to prepend to the statistics output. |
Definition at line 28 of file report_stats.c.