| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/profiling/sampling/live_collector/__pycache__/ |
Upload File : |
R
>lqj%� c �B � Q s ] PHs] PHs] QHGsGs ]QHGsGsG s G
s
GsGsG
s
GsGsGsGsGsGsGsGsGs ]QHGsGsGsGsGsGsGs ]QHxGsG s Q Q\2 s! Q Q\!2 s" Q Q
\!2 s# Q Q\!2 s$ Q
Q\!2 s% Q Q\!2 s& Q Q\!2 s'P! )z3Widget classes for the live profiling collector UI.)�ABC�abstractmethod)�TOP_FUNCTIONS_DISPLAY_COUNT�MIN_FUNC_NAME_WIDTH�MAX_FUNC_NAME_WIDTH�WIDTH_THRESHOLD_SAMPLE_PCT�WIDTH_THRESHOLD_TOTTIME�WIDTH_THRESHOLD_CUMUL_PCT�WIDTH_THRESHOLD_CUMTIME�MICROSECONDS_PER_SECOND�DISPLAY_UPDATE_INTERVAL_SEC�
MIN_BAR_WIDTH�MAX_SAMPLE_RATE_BAR_WIDTH�MAX_EFFICIENCY_BAR_WIDTH�MIN_SAMPLE_RATE_FOR_SCALING�FOOTER_LINES�FINISHED_BANNER_EXTRA_LINES�OPCODE_PANEL_HEIGHT)�THREAD_STATUS_HAS_GIL�THREAD_STATUS_ON_CPU�THREAD_STATUS_UNKNOWN�THREAD_STATUS_GIL_REQUESTED�PROFILING_MODE_CPU�PROFILING_MODE_GIL�PROFILING_MODE_WALL)�get_opcode_info�
format_opcodec �F ` � \ sQ s]%s n QsQ s\Q 2 sQQ ksQs U s
P! )�WidgetzBase class for UI widgets.c � � Vm V m P! )zs
Initialize widget.
Args:
display: DisplayInterface implementation
colors: Dictionary of color attributes
)�display�colors)�selfr r s &&&�>C:\Python315\\Lib\profiling\sampling\live_collector\widgets.py�__init__�Widget.__init__( s � � ���� c � � P! )z�
Render the widget starting at the given line.
Args:
line: Starting line number
width: Available width
**kwargs: Additional rendering parameters
Returns:
Next available line number after rendering
� �r! �line�width�kwargss &&&,r"