utility.h File Reference
#include <stdint.h>
Go to the source code of this file.
Define Documentation
Function Documentation
int16_t millisec_get |
( |
void |
|
) |
|
int time_stamp |
( |
char * |
fn, |
|
|
char * |
event | |
|
) |
| | |
Log events to a file with timestamp.
- Parameters:
-
| fn | Filename to save results to. |
| event | Name of the event. |
- Returns:
- errno Error for file access.
- Note:
- When calling this from threads, each thread must have a unique filename.
Definition at line 11 of file utility.c.