From 9e88c51e24b68c938bbfd297cb92a50e11786b8e Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 31 Oct 2013 09:31:08 +0100 Subject: [PATCH] Counters: move perf critical var to the top of the SCPerfContext struct --- src/counters.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/counters.h b/src/counters.h index a7f9c82ce8..0b82042b15 100644 --- a/src/counters.h +++ b/src/counters.h @@ -89,12 +89,12 @@ typedef struct SCPerfCounter_ { * \brief Holds the Perf Context for a ThreadVars instance */ typedef struct SCPerfContext_ { - /* pointer to the head of a list of counters assigned under this context */ - SCPerfCounter *head; - /* flag set by the wakeup thread, to inform the client threads to sync */ uint32_t perf_flag; + /* pointer to the head of a list of counters assigned under this context */ + SCPerfCounter *head; + /* holds the total no of counters already assigned for this perf context */ uint16_t curr_id;