#ifndef GMAC_EXAMPLES_GMAC_INTERACTIVE_OBJECTS_H_ #define GMAC_EXAMPLES_GMAC_INTERACTIVE_OBJECTS_H_ #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include #include #include #include "gmac.h" #include "gmac_info.h" #include "gmac_command.h" typedef struct __InfoOptions { char configPath[PATH_MAX]; uint32_t NoQueues; char OutFile[PATH_MAX]; } InfoOptions_t; typedef struct __UserQueueInfo { bool assigned; pthread_t threadId; volatile size_t index; int queueId; int cpu; struct __UserRuntime* runtimeInfo; FILE* outFileHandle; } UserQueueInfo_t; typedef struct __UserRuntime { GMACHandle* handle; const struct __InfoOptions* options; UserQueueInfo_t Queues[MAX_HWQUEUES]; } UserRuntime_t; #endif /* GMAC_EXAMPLES_GMAC_INTERACTIVE_OBJECTS_H_ */