MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_debug

Method set_debug

crates/vm/src/gc_state.rs:221–223  ·  view source on GitHub ↗

Set debug flags

(&self, flags: GcDebugFlags)

Source from the content-addressed store, hash-verified

219
220 /// Set debug flags
221 pub fn set_debug(&self, flags: GcDebugFlags) {
222 self.debug.store(flags.bits(), Ordering::SeqCst);
223 }
224
225 /// Get thresholds for all generations
226 pub fn get_threshold(&self) -> (u32, u32, u32) {

Callers 2

test_gc_debug_flagsFunction · 0.45
set_debugFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by 1

test_gc_debug_flagsFunction · 0.36