#include <stdint.h>#include <sys/time.h>

Go to the source code of this file.
Macros | |
| #define | DIFF_TIME_TYPE int64_t |
| #define | ELAPSED_TIME_TYPE uint64_t |
| #define | START_TIME_TYPE struct timeval |
| #define | START_TIME_ZERO {0, 0} |
Functions | |
| DIFF_TIME_TYPE | MQTTTime_difftime (START_TIME_TYPE new, START_TIME_TYPE old) |
| ELAPSED_TIME_TYPE | MQTTTime_elapsed (START_TIME_TYPE milliseconds) |
| START_TIME_TYPE | MQTTTime_now (void) |
| void | MQTTTime_sleep (ELAPSED_TIME_TYPE milliseconds) |
| START_TIME_TYPE | MQTTTime_start_clock (void) |
| #define DIFF_TIME_TYPE int64_t |
Definition at line 41 of file MQTTTime.h.
| #define ELAPSED_TIME_TYPE uint64_t |
Definition at line 40 of file MQTTTime.h.
| #define START_TIME_TYPE struct timeval |
Definition at line 36 of file MQTTTime.h.
| #define START_TIME_ZERO {0, 0} |
Definition at line 37 of file MQTTTime.h.
| DIFF_TIME_TYPE MQTTTime_difftime | ( | START_TIME_TYPE | new, |
| START_TIME_TYPE | old | ||
| ) |
Definition at line 99 of file MQTTTime.c.
| ELAPSED_TIME_TYPE MQTTTime_elapsed | ( | START_TIME_TYPE | milliseconds | ) |
Definition at line 109 of file MQTTTime.c.
| START_TIME_TYPE MQTTTime_now | ( | void | ) |
Definition at line 66 of file MQTTTime.c.
| void MQTTTime_sleep | ( | ELAPSED_TIME_TYPE | milliseconds | ) |
Definition at line 27 of file MQTTTime.c.
| START_TIME_TYPE MQTTTime_start_clock | ( | void | ) |
Definition at line 55 of file MQTTTime.c.