diff options
author | Amit Elkabetz <12958411+amitelka@users.noreply.github.com> | 2023-03-05 18:16:21 +0200 |
---|---|---|
committer | Amit Elkabetz <12958411+amitelka@users.noreply.github.com> | 2023-03-05 18:16:21 +0200 |
commit | 07cf27cddc6f0189ee9b21f888595c84549b5b93 (patch) | |
tree | d0bebabef7a714f54295610448fc4637f2f408dd /src/afl-fuzz-stats.c | |
parent | 2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff) | |
download | afl++-07cf27cddc6f0189ee9b21f888595c84549b5b93.tar.gz |
Added flag -u to allow custom interval to update fuzzer_stats file
Diffstat (limited to 'src/afl-fuzz-stats.c')
-rw-r--r-- | src/afl-fuzz-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index bfd30845..0e36227f 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -613,7 +613,7 @@ void show_stats_normal(afl_state_t *afl) { if (unlikely(!afl->non_instrumented_mode && (afl->force_ui_update || - cur_ms - afl->stats_last_stats_ms > STATS_UPDATE_SEC * 1000))) { + cur_ms - afl->stats_last_stats_ms > afl->stats_file_update_freq_msecs))) { afl->stats_last_stats_ms = cur_ms; write_stats_file(afl, t_bytes, t_byte_ratio, stab_ratio, |