Macros | Functions
MQTTTime.h File Reference
#include <stdint.h>
#include <sys/time.h>
Include dependency graph for MQTTTime.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#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.

Function Documentation

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.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49