From: Victor Julien Date: Thu, 31 Oct 2013 08:31:08 +0000 (+0100) Subject: Counters: move perf critical var to the top of the SCPerfContext struct X-Git-Tag: suricata-2.0beta2~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e88c51e24b68c938bbfd297cb92a50e11786b8e;p=thirdparty%2Fsuricata.git Counters: move perf critical var to the top of the SCPerfContext struct --- 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;