Skip to content

Commit 6e2a73b

Browse files
committed
Remove over-budget logic
1 parent 45d9341 commit 6e2a73b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/bin/pythia_controller.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn main() {
141141
)
142142
.ok();
143143

144-
if over_budget || last_gc.elapsed() > SETTINGS.gc_epoch {
144+
// if over_budget || last_gc.elapsed() > SETTINGS.gc_epoch {
145145
// Run garbage collection
146146
// if over_budget {
147147
// eprintln!("Over budget, would disable but it's not implemented");
@@ -186,13 +186,13 @@ fn main() {
186186
// writeln!(output_file, "Disabled {:?}", to_disable).ok();
187187
// }
188188
// 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();
193193

194-
last_gc = Instant::now();
195-
}
194+
// last_gc = Instant::now();
195+
// }
196196

197197
if !over_budget && last_decision.elapsed() > SETTINGS.decision_epoch {
198198

0 commit comments

Comments
 (0)