summaryrefslogtreecommitdiffstats
path: root/src/trex_watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trex_watchdog.h')
-rw-r--r--src/trex_watchdog.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/trex_watchdog.h b/src/trex_watchdog.h
index 1c948d56..af9a3993 100644
--- a/src/trex_watchdog.h
+++ b/src/trex_watchdog.h
@@ -117,15 +117,12 @@ private:
/* write fields are first */
volatile bool m_active;
volatile bool m_tickled;
- dsec_t m_ts;
-
int m_handle;
+ dsec_t m_ts;
double m_timeout_sec;
pthread_t m_tid;
std::string m_name;
- /* for for a full cacheline */
- uint8_t pad[15];
} __rte_cache_aligned;
@@ -203,6 +200,5 @@ private:
static bool g_signal_init;
};
-static_assert(sizeof(TrexMonitor) == RTE_CACHE_LINE_SIZE, "sizeof(TrexMonitor) != RTE_CACHE_LINE_SIZE" );
#endif /* __TREX_WATCHDOG_H__ */