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