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:
parent
13a7805f42
commit
2144fdf37f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue