LCOV - code coverage report
Current view: top level - Python - pytime.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 319 378 84.4 %
Date: 2022-07-20 13:12:14 Functions: 56 60 93.3 %
Branches: 141 182 77.5 %

Function Name Sort by function name Hit count Sort by hit count
_PyDeadline_Get 14124
_PyDeadline_Init 162519
_PyLong_AsTime_t 46864
_PyLong_FromTime_t 3648097
_PyTime_Add 9432969
_PyTime_AsMicroseconds 1848142
_PyTime_AsMilliseconds 113773
_PyTime_AsNanoseconds 0
_PyTime_AsNanosecondsObject 4666
_PyTime_AsSecondsDouble 346763
_PyTime_AsTime_t 9385773
_PyTime_AsTimespec 65927
_PyTime_AsTimespec_clamp 9270441
_PyTime_AsTimeval 49328
_PyTime_AsTimevalTime_t 60
_PyTime_AsTimeval_clamp 7
_PyTime_FromMicrosecondsClamp 5420036
_PyTime_FromMillisecondsObject 20094
_PyTime_FromNanoseconds 3852270
_PyTime_FromNanosecondsObject 4978
_PyTime_FromSeconds 1991572
_PyTime_FromSecondsObject 157297
_PyTime_FromTimespec 6523
_PyTime_FromTimeval 0
_PyTime_GetMonotonicClock 9447084
_PyTime_GetMonotonicClockWithInfo 316007
_PyTime_GetPerfCounter 2142
_PyTime_GetPerfCounterWithInfo 41270
_PyTime_GetSystemClock 60
_PyTime_GetSystemClockWithInfo 86525
_PyTime_Mul 5420042
_PyTime_MulDiv 0
_PyTime_ObjectToTime_t 17256
_PyTime_ObjectToTimespec 2142
_PyTime_ObjectToTimeval 2634
_PyTime_gmtime 2979
_PyTime_localtime 23326
py_get_monotonic_clock 9765218
py_get_system_clock 86585
pytime_add 19291242
pytime_as_nanoseconds 11699094
pytime_as_timespec 9336360
pytime_as_timeval 49395
pytime_as_timeval_struct 49335
pytime_divide 2011310
pytime_divide_round_up 386606
pytime_divmod 9385737
pytime_double_to_denominator 3040
pytime_from_double 133948
pytime_from_nanoseconds 21304426
pytime_from_object 177391
pytime_fromtimespec 9858330
pytime_fromtimeval 0
pytime_mul 15321720
pytime_mul_check_overflow 15321717
pytime_object_to_denominator 4776
pytime_overflow 51
pytime_round 153061
pytime_round_half_even 1565
pytime_time_t_overflow 34

Generated by: LCOV version 1.14