Skip to content

Commit

Permalink
Set pc_counter_set range to speed up the full cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 691495255
  • Loading branch information
xinhaoyuan authored and copybara-github committed Oct 30, 2024
1 parent 184807a commit e6786c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion centipede/runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ PrepareCoverage(bool full_clear) {
tls.cmp_traceN.Clear();
}
});
state.pc_counter_set.ForEachNonZeroByte([](size_t idx, uint8_t value) {});
state.pc_counter_set.ForEachNonZeroByte(
[](size_t idx, uint8_t value) {}, 0,
state.actual_pc_counter_set_size_aligned);
if (state.run_time_flags.use_dataflow_features)
state.data_flow_feature_set.ForEachNonZeroBit([](size_t idx) {});
if (state.run_time_flags.use_cmp_features) {
Expand Down

0 comments on commit e6786c4

Please sign in to comment.