summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 73c6dc82988..1e3229171da 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -113,6 +113,10 @@ typedef struct session_worker_
u32 last_tx_packets;
+#if SESSION_DEBUG
+ /** last event poll time by thread */
+ f64 last_event_poll;
+#endif
} session_worker_t;
typedef int (session_fifo_rx_fn) (vlib_main_t * vm,
@@ -178,14 +182,6 @@ typedef struct session_main_
/** Preallocate session config parameter */
u32 preallocated_sessions;
-#if SESSION_DEBUG
- /**
- * last event poll time by thread
- * Debug only. Will cause false cache-line sharing as-is
- */
- f64 *last_event_poll_by_thread;
-#endif
-
} session_main_t;
extern session_main_t session_main;