LCOV - code coverage report
Current view: top level - Python - pystate.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 825 990 83.3 %
Date: 2022-07-07 18:19:46 Functions: 98 105 93.3 %

Function Name Sort by function name Hit count Sort by hit count
PyGILState_Check 3035980000
PyGILState_Ensure 4099
PyGILState_GetThisThreadState 2823730
PyGILState_Release 4099
PyInterpreterState_Clear 0
PyInterpreterState_Delete 3120
PyInterpreterState_Get 7424
PyInterpreterState_GetDict 0
PyInterpreterState_GetID 3756
PyInterpreterState_Head 255
PyInterpreterState_Main 19
PyInterpreterState_New 3134
PyInterpreterState_Next 759
PyInterpreterState_ThreadHead 1766
PyState_AddModule 1192
PyState_FindModule 467351
PyState_RemoveModule 2
PyThreadState_Clear 11932
PyThreadState_Delete 0
PyThreadState_DeleteCurrent 0
PyThreadState_Get 457043000
PyThreadState_GetDict 277350
PyThreadState_GetFrame 3894
PyThreadState_GetID 34234
PyThreadState_GetInterpreter 3400
PyThreadState_IsCurrent 12291
PyThreadState_New 3140
PyThreadState_Next 1566
PyThreadState_SetAsyncExc 3
PyThreadState_Swap 3525
_PyCrossInterpreterData_Lookup 641
_PyCrossInterpreterData_NewObject 586
_PyCrossInterpreterData_RegisterClass 4
_PyCrossInterpreterData_Release 604
_PyGILState_Fini 2951
_PyGILState_GetInterpreterStateUnsafe 4
_PyGILState_GetThisThreadState 3030500000
_PyGILState_Init 2963
_PyGILState_NoteThreadState 14907
_PyGILState_Reinit 8
_PyGILState_SetTstate 3134
_PyInterpreterState_Clear 3120
_PyInterpreterState_ClearModules 3120
_PyInterpreterState_DeleteExceptMain 8
_PyInterpreterState_Enable 2963
_PyInterpreterState_GetConfig 11622600
_PyInterpreterState_GetConfigCopy 66
_PyInterpreterState_GetEvalFrameFunc 0
_PyInterpreterState_GetMainModule 61
_PyInterpreterState_IDDecref 393
_PyInterpreterState_IDIncref 464
_PyInterpreterState_IDInitref 907
_PyInterpreterState_LookUpID 1673
_PyInterpreterState_RequireIDRef 121
_PyInterpreterState_RequiresIDRef 0
_PyInterpreterState_SetEvalFrameFunc 4
_PyObject_CheckCrossInterpreterData 34
_PyObject_GetCrossInterpreterData 607
_PyRuntimeState_Fini 5119
_PyRuntimeState_Init 2984
_PyRuntimeState_ReInitThreads 8
_PyState_AddModule 14516
_PyThreadState_Delete 3120
_PyThreadState_DeleteCurrent 8683
_PyThreadState_DeleteExcept 2960
_PyThreadState_GetDict 287931
_PyThreadState_Init 0
_PyThreadState_PopFrame 273399000
_PyThreadState_Prealloc 8804
_PyThreadState_PushFrame 122154000
_PyThreadState_SetCurrent 11944
_PyThreadState_Swap 20061600
_PyThreadState_UncheckedGet 3173
_PyThread_CurrentExceptions 1
_PyThread_CurrentFrames 1
_Py_GetConfig 10101600
_bytes_shared 322
_call_in_interpreter 598
_check_xidata 604
_long_shared 267
_lookup_getdata 641
_new_bytes_object 306
_new_long_object 264
_new_none_object 5
_new_str_object 9
_none_shared 5
_register_builtins_for_crossinterpreter_data 4
_register_xidata 20
_release_xidata 598
_str_shared 11
alloc_for_runtime 2984
alloc_interpreter 171
alloc_threadstate 8810
allocate_chunk 24005
free_interpreter 3120
free_threadstate 11932
init_interpreter 3134
init_runtime 2984
init_threadstate 11944
interp_look_up_id 1673
interpreter_clear 3120
new_threadstate 11944
push_chunk 24005
tstate_delete_common 11803
zapthreads 3120

Generated by: LCOV version 1.14