Skip to content

Commit e403750

Browse files
AC
1 parent 64f49f0 commit e403750

File tree

2 files changed

+40
-18
lines changed

2 files changed

+40
-18
lines changed

Modules/_remote_debugging/clinic/module.c.h

Lines changed: 24 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_remote_debugging/module.c

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,28 +1847,29 @@ Get garbage collector statistics from external Python process.
18471847
Returns:
18481848
List of dicts.
18491849
dict: A dictionary containing:
1850-
- total_samples: Total number of get_stack_trace calls
1851-
- frame_cache_hits: Full cache hits (entire stack unchanged)
1852-
- frame_cache_misses: Cache misses requiring full walk
1853-
- frame_cache_partial_hits: Partial hits (stopped at cached frame)
1854-
- frames_read_from_cache: Total frames retrieved from cache
1855-
- frames_read_from_memory: Total frames read from remote memory
1856-
- memory_reads: Total remote memory read operations
1857-
- memory_bytes_read: Total bytes read from remote memory
1858-
- code_object_cache_hits: Code object cache hits
1859-
- code_object_cache_misses: Code object cache misses
1860-
- stale_cache_invalidations: Times stale cache entries were cleared
1861-
- frame_cache_hit_rate: Percentage of samples that hit the cache
1862-
- code_object_cache_hit_rate: Percentage of code object lookups that hit cache
1850+
- gen:
1851+
- iid:
1852+
- ts_start:
1853+
- ts_stop:
1854+
- heap_size:
1855+
- work_to_do:
1856+
- collections:
1857+
- object_visits:
1858+
- collected:
1859+
- uncollectable:
1860+
- candidates:
1861+
- objects_transitively_reachable:
1862+
- objects_not_transitively_reachable:
1863+
- duration:
18631864
18641865
Raises:
1865-
RuntimeError: If stats collection was not enabled (stats=False)
1866+
RuntimeError:
18661867
[clinic start generated code]*/
18671868

18681869
static PyObject *
18691870
_remote_debugging_get_gc_stats_impl(PyObject *module, int pid,
18701871
int all_interpreters)
1871-
/*[clinic end generated code: output=d9dce5f7add149bb input=82045b510b1a849c]*/
1872+
/*[clinic end generated code: output=d9dce5f7add149bb input=8f05aee4d4230428]*/
18721873
{
18731874
RuntimeOffsets offsets;
18741875

0 commit comments

Comments
 (0)