LCOV - code coverage report
Current view: top level - Python - pystate.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit 5e6661bce9] Lines: 463 1022 45.3 %
Date: 2023-03-20 08:15:36 Functions: 64 123 52.0 %
Branches: 143 440 32.5 %

Function Name Sort by function name Hit count Sort by hit count
PyGILState_Check 0
PyGILState_Ensure 0
PyGILState_GetThisThreadState 0
PyGILState_Release 0
PyInterpreterState_Clear 0
PyInterpreterState_Delete 25
PyInterpreterState_Get 102301
PyInterpreterState_GetDict 0
PyInterpreterState_GetID 0
PyInterpreterState_Head 0
PyInterpreterState_Main 0
PyInterpreterState_New 29
PyInterpreterState_Next 0
PyInterpreterState_ThreadHead 1
PyThreadState_Clear 25
PyThreadState_Delete 0
PyThreadState_DeleteCurrent 0
PyThreadState_Get 0
PyThreadState_GetDict 30209
PyThreadState_GetFrame 4
PyThreadState_GetID 0
PyThreadState_GetInterpreter 4
PyThreadState_New 0
PyThreadState_Next 1
PyThreadState_SetAsyncExc 0
PyThreadState_Swap 29
_PyCrossInterpreterData_Clear 0
_PyCrossInterpreterData_Init 0
_PyCrossInterpreterData_InitWithSize 0
_PyCrossInterpreterData_Lookup 0
_PyCrossInterpreterData_NewObject 0
_PyCrossInterpreterData_RegisterClass 1
_PyCrossInterpreterData_Release 0
_PyCrossInterpreterData_UnregisterClass 1
_PyGILState_Fini 25
_PyGILState_GetInterpreterStateUnsafe 0
_PyGILState_Init 29
_PyGILState_SetTstate 29
_PyInterpreterState_Clear 25
_PyInterpreterState_DeleteExceptMain 0
_PyInterpreterState_Enable 29
_PyInterpreterState_GetConfig 57673
_PyInterpreterState_GetConfigCopy 0
_PyInterpreterState_GetEvalFrameFunc 0
_PyInterpreterState_GetMainModule 0
_PyInterpreterState_HasFeature 20
_PyInterpreterState_IDDecref 0
_PyInterpreterState_IDIncref 0
_PyInterpreterState_IDInitref 0
_PyInterpreterState_LookUpID 0
_PyInterpreterState_RequireIDRef 0
_PyInterpreterState_RequiresIDRef 0
_PyInterpreterState_SetEvalFrameFunc 0
_PyObject_CheckCrossInterpreterData 0
_PyObject_GetCrossInterpreterData 0
_PyRuntimeState_Fini 50
_PyRuntimeState_Init 29
_PyRuntimeState_ReInitThreads 0
_PyThreadState_Bind 29
_PyThreadState_DeleteCurrent 0
_PyThreadState_DeleteExcept 25
_PyThreadState_GetDict 30209
_PyThreadState_Init 0
_PyThreadState_New 29
_PyThreadState_PopFrame 3608148
_PyThreadState_Prealloc 0
_PyThreadState_PushFrame 1424205
_PyThreadState_Swap 60356
_PyThreadState_UncheckedGet 7255519
_PyThread_CurrentExceptions 0
_PyThread_CurrentFrames 0
_Py_GetConfig 31240
_bytes_shared 0
_call_in_interpreter 0
_check_xidata 0
_long_shared 0
_lookup_getdata 0
_new_bytes_object 0
_new_long_object 0
_new_none_object 0
_new_str_object 0
_none_shared 0
_register_builtins_for_crossinterpreter_data 1
_str_shared 0
_xidata_clear 0
_xidata_init 0
_xidregistry_add_type 5
_xidregistry_find_type 1
_xidregistry_remove_entry 1
alloc_for_runtime 29
alloc_interpreter 0
alloc_threadstate 29
allocate_chunk 25
bind_gilstate_tstate 29
bind_tstate 29
current_fast_clear 60356
current_fast_get 7479704
current_fast_set 30180
free_interpreter 25
free_threadstate 25
gilstate_tss_clear 25
gilstate_tss_set 29
holds_gil 0
init_interpreter 29
init_runtime 29
init_threadstate 29
interp_look_up_id 0
interpreter_clear 25
new_threadstate 29
push_chunk 25
tstate_activate 30180
tstate_deactivate 30176
tstate_delete_common 25
tstate_tss_clear 25
tstate_tss_fini 25
tstate_tss_get 58
tstate_tss_init 29
tstate_tss_initialized 50
tstate_tss_reinit 0
tstate_tss_set 29
unbind_gilstate_tstate 25
unbind_tstate 25
zapthreads 25

Generated by: LCOV version 1.14