@@ -141,7 +141,7 @@ fn main() {
141
141
)
142
142
. ok ( ) ;
143
143
144
- if over_budget || last_gc. elapsed ( ) > SETTINGS . gc_epoch {
144
+ // if over_budget || last_gc.elapsed() > SETTINGS.gc_epoch {
145
145
// Run garbage collection
146
146
// if over_budget {
147
147
// eprintln!("Over budget, would disable but it's not implemented");
@@ -186,13 +186,13 @@ fn main() {
186
186
// writeln!(output_file, "Disabled {:?}", to_disable).ok();
187
187
// }
188
188
// Disable tracepoints not observed in critical paths
189
- let to_disable = budget_manager. old_tracepoints ( ) ;
190
- CONTROLLER . disable ( & to_disable) ;
191
- writeln ! ( output_file, "Disabled {}" , to_disable. len( ) ) . ok ( ) ;
192
- writeln ! ( output_file, "Disabled {:?}" , to_disable) . ok ( ) ;
189
+ // let to_disable = budget_manager.old_tracepoints();
190
+ // CONTROLLER.disable(&to_disable);
191
+ // writeln!(output_file, "Disabled {}", to_disable.len()).ok();
192
+ // writeln!(output_file, "Disabled {:?}", to_disable).ok();
193
193
194
- last_gc = Instant :: now ( ) ;
195
- }
194
+ // last_gc = Instant::now();
195
+ // }
196
196
197
197
if !over_budget && last_decision. elapsed ( ) > SETTINGS . decision_epoch {
198
198
0 commit comments