mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-46072: Add some frame stats. (GH-31060)
This commit is contained in:
parent
a05866ce3e
commit
187930f74c
7 changed files with 16 additions and 1 deletions
|
@ -169,6 +169,8 @@ print_call_stats(FILE *out, CallStats *stats)
|
|||
{
|
||||
fprintf(out, "Calls to PyEval_EvalDefault: %" PRIu64 "\n", stats->pyeval_calls);
|
||||
fprintf(out, "Calls to Python functions inlined: %" PRIu64 "\n", stats->inlined_py_calls);
|
||||
fprintf(out, "Frames pushed: %" PRIu64 "\n", stats->frames_pushed);
|
||||
fprintf(out, "Frame objects created: %" PRIu64 "\n", stats->frame_objects_created);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue