@@ -1852,28 +1852,29 @@ Get garbage collector statistics from external Python process.
18521852Returns:
18531853 List of dicts.
18541854 dict: A dictionary containing:
1855- - total_samples: Total number of get_stack_trace calls
1856- - frame_cache_hits: Full cache hits (entire stack unchanged)
1857- - frame_cache_misses: Cache misses requiring full walk
1858- - frame_cache_partial_hits: Partial hits (stopped at cached frame)
1859- - frames_read_from_cache: Total frames retrieved from cache
1860- - frames_read_from_memory: Total frames read from remote memory
1861- - memory_reads: Total remote memory read operations
1862- - memory_bytes_read: Total bytes read from remote memory
1863- - code_object_cache_hits: Code object cache hits
1864- - code_object_cache_misses: Code object cache misses
1865- - stale_cache_invalidations: Times stale cache entries were cleared
1866- - frame_cache_hit_rate: Percentage of samples that hit the cache
1867- - code_object_cache_hit_rate: Percentage of code object lookups that hit cache
1855+ - gen:
1856+ - iid:
1857+ - ts_start:
1858+ - ts_stop:
1859+ - heap_size:
1860+ - work_to_do:
1861+ - collections:
1862+ - object_visits:
1863+ - collected:
1864+ - uncollectable:
1865+ - candidates:
1866+ - objects_transitively_reachable:
1867+ - objects_not_transitively_reachable:
1868+ - duration:
18681869
18691870Raises:
1870- RuntimeError: If stats collection was not enabled (stats=False)
1871+ RuntimeError:
18711872[clinic start generated code]*/
18721873
18731874static PyObject *
18741875_remote_debugging_get_gc_stats_impl (PyObject * module , int pid ,
18751876 int all_interpreters )
1876- /*[clinic end generated code: output=d9dce5f7add149bb input=82045b510b1a849c ]*/
1877+ /*[clinic end generated code: output=d9dce5f7add149bb input=8f05aee4d4230428 ]*/
18771878{
18781879 RuntimeOffsets offsets ;
18791880
0 commit comments