Lines Matching refs:cnt
176 #define INC_PERF_COUNTER(cnt) (++(cnt)) argument
177 #define ADD_PERF_COUNTER(cnt, add) ((cnt) += (add)) argument
178 #define AVG_PERF_COUNTER(cnt, sample) \ argument
179 ((cnt) = ((cnt) * (AVG_SIZE - 1) + (sample) * AVG_FACTOR) / AVG_SIZE)
180 #define GET_PERF_COUNTER(cnt) (cnt) argument
181 #define GET_AVG_PERF_COUNTER(cnt) ((cnt) / AVG_FACTOR) argument
185 #define INC_PERF_COUNTER(cnt) do {} while (0) argument
186 #define ADD_PERF_COUNTER(cnt, add) do {} while (0) argument
187 #define AVG_PERF_COUNTER(cnt, sample) do {} while (0) argument
188 #define GET_PERF_COUNTER(cnt) (0) argument
189 #define GET_AVG_PERF_COUNTER(cnt) (0) argument