1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

task: use new tsc module

This commit is contained in:
Steffen Vogel 2018-10-19 14:26:25 +02:00
parent 13a7805f42
commit 2144fdf37f

View file

@ -26,6 +26,8 @@
#include <stdio.h>
#include <stdint.h>
#include <villas/tsc.h>
#include <time.h>
#ifdef __cplusplus
@ -61,7 +63,7 @@ struct task {
#if PERIODIC_TASK_IMPL == TIMERFD
int fd; /**< The timerfd_create(2) file descriptior. */
#elif PERIODIC_TASK_IMPL == RDTSC
struct rdtsc tsc; /**< Initialized by tsc_init(). */
struct tsc tsc; /**< Initialized by tsc_init(). */
#endif
};