python (3.11.7)
e d Z g dZddlZddlZddlZddZddZej j e_ ej j e_ G d dej Z d Z
d
Zedk r e dS dS )
zUPython interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
)runrunctxProfile Nc ^ t j t | || S N)
_pyprofile_Utilsr r ) statementfilenamesorts </BuggyBox/python/3.11.7/bootstrap/lib/python3.11/cProfile.pyr r s% W%%)))XtDDD c b t j t | |||| S r )r r
r r )r globalslocalsr r
s r r r s0 W%%,,Y-5t= = =r c J e Zd ZdZd
dZd Zd Zd Zd Zd Z d Z
d
Zd ZdS )r a` Profile(timer=None, timeunit=None, subcalls=True, builtins=True)
Builds a profiler object using the specified timer function.
The default timer is a fast built-in one based on real time.
For custom timer functions returning integers, timeunit can
be a float specifying a scale (i.e. how long each integer unit
is, in seconds).
r c dd l }| | | d S Nr )pstatsStats
strip_dirs
sort_statsprint_stats)selfr
r s r r zProfile.print_stats) sI
T%%''22488DDFFFFFr c dd l }t |d 5 }| | | j | d d d d S # 1 swxY w Y d S )Nr wb)marshalopencreate_statsdumpstats)r filer fs r
dump_statszProfile.dump_stats- s
$
(LLQ''' ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (s 0AAAc V | | d S r )disablesnapshot_statsr s r r zProfile.create_stats3 s'