mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-30 18:00:25 +00:00
move get_time_stamp to main_channel.c
There is only one user of get_time_stamp from spice_common.h so it's not really useful to keep it there.
This commit is contained in:
parent
62ef19f8c7
commit
c04b58bf7a
@ -63,11 +63,4 @@
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
static inline uint64_t get_time_stamp(void)
|
||||
{
|
||||
struct timespec time_space;
|
||||
clock_gettime(CLOCK_MONOTONIC, &time_space);
|
||||
return time_space.tv_sec * 1000 * 1000 * 1000 + time_space.tv_nsec;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user