1 | 956debaf | Christian Daniel | #include <time.h>
|
---|---|---|---|
2 | #include "utils.h"
|
||
3 | |||
4 | uint64_t getTickCount() |
||
5 | {
|
||
6 | struct timespec t; |
||
7 | |||
8 | if(clock_gettime(CLOCK_MONOTONIC, &t) != 0) |
||
9 | return 0; |
||
10 | return (((uint64_t)t.tv_sec) * 1000) + (((uint64_t)t.tv_nsec) / 1000000); |
||
11 | }
|
OsmoSDR has been phased out, the hardware is no longer available and the project is unmaintained