Mstdlib-1.24.0
|
Functions | |
M_int64 | M_time_timeval_diff (const M_timeval_t *start_time, const M_timeval_t *end_time) |
void | M_time_elapsed_start (M_timeval_t *start_tv) |
M_uint64 | M_time_elapsed (const M_timeval_t *start_tv) |
M_int64 M_time_timeval_diff | ( | const M_timeval_t * | start_time, |
const M_timeval_t * | end_time | ||
) |
Calculate the number of milliseconds between two timevals.
[in] | start_time | The start time. |
[in] | end_time | The end time. |
void M_time_elapsed_start | ( | M_timeval_t * | start_tv | ) |
Start time to use for elapsed time operations.
[out] | start_tv | The current time to use as the start time. |
M_uint64 M_time_elapsed | ( | const M_timeval_t * | start_tv | ) |
The amount of time that has elapsed since start in milliseconds.
[in] | start_tv | The time to calculate from. This should be the value from M_time_elapsed_start. |