mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Fix dbg_mean_of() to enable statistics when called
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
33bb8305a9
commit
e828753a3a
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ void dbg_after() {
|
|||
void dbg_mean_of(int v) {
|
||||
|
||||
assert(!dbg_show_hit_rate);
|
||||
dbg_show_mean = true;
|
||||
dbg_cnt0++;
|
||||
dbg_cnt1 += v;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue