MCPcopy Create free account
hub / github.com/DexterInd/GoPiGo3 / get_time

Function get_time

Software/C/GoPiGo3.h:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84//struct timespec _time;
85struct timeval _time;
86double get_time(){
87 //clock_gettime(CLOCK_MONOTONIC_RAW, &_time);
88 gettimeofday(&_time, NULL);
89 return _time.tv_sec + (_time.tv_usec / 1000000);
90}
91
92enum GPGSPI_MESSAGE_TYPE{
93 GPGSPI_MESSAGE_NONE,

Callers 1

grove_i2c_transferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected