관리-도구
편집 파일: pbhelp.cpython-311.pyc
� �܋f�E � � � d Z dZdS )sf ��[ �guppy.gsl.Text��RecordingInter���)��}�(�appends�]�(K �Heapy Profile Browser �K� �K�Version�KhK�0.1 �KhK�Author�KhK�Sverker Nilsson �KhK�Email�KhK�sn@sncs.se �KhK�License�KhK�MIT �K�Copyright (c) 2005--2008�K�.S. Nilsson Computer System ABLinkoping, Sweden�K� �e�tag_configs�}�(K �spacing1�K���font��times�K�bold�������KhhhK�bold�������KhhhK������K�tabs�(G@A� �center�G@T �left�t���hh ��Kh)hK����Kh+hhK �italic�������Kh+hhK ������Kh+h#��Kh#��u� _gsl_title��About Heapy Profile Browser��_gsl_tk_geometry��400x200�ub.s�* ��v* �guppy.gsl.Text��RecordingInter���)��}�(�appends�]�(K �Menus �K�rClick on the dotted line at the top of a menu to "tear it off": a separate window containing the menu is created. �K� File Menu �K� �K�New Profile Browser�Kh K�Create a new browser �K� �K�window with the same �Kh K�file as the one �Kh K�opened in the current �Kh K� window. �K h K�Open Profile�K h K�Open a profile data �Kh K�file in the current �Kh K�window. Data files �Kh K�can be created with �Kh K � Stat.dump �K�. �K h K�Close Window�K h K�Close the current �Kh K�window (exits from Tk �Kh K�if it was the last �Kh K�browser window). �K h K�Clear Cache�K h K�Clear the sample �Kh K�cache, releasing its �Kh K�memory. The cache �Kh K�will be automatically �Kh K�filled again when �Kh K� needed. �Kh K�This command is a�K� �Kh K�kind of temporary /�Kh&Kh K�experimental feature.�Kh&Kh K�I think the cache�Kh&Kh K�handling should be�Kh&Kh K�made automatic and�Kh&Kh K�less memory�Kh&Kh K�consuming. �Kh&K� Pane Menu �Kh K�Show Control Panel�Kh K�Show the control panel �K h K�pane. �Kh K� Show Graph�Kh K�Show the graph pane. �Kh K� Show Table�Kh K�Show the table pane. �K�Graph Menu �Kh K�Bars / Lines�Kh K�Choose whether the graph �Kh K�should be displayed using �Kh K�bars or lines. �Kh K�When using bars, the sample�Kh&Kh K�value (size or count) for�Kh&Kh K�different kinds of objects�Kh&Kh K�will be stacked on top of�Kh&Kh K�each other so the total�Kh&Kh K�height represents the total�Kh&Kh K�value of a sample. When�Kh&Kh K�using lines, each line�Kh&Kh K�represents the value for a�Kh&Kh K�single kind of object. The�Kh&Kh K�10 largest values are shown�Kh&Kh K�in each sample point. Each�Kh&Kh K�kind has a particular color,�Kh&Kh K�choosen arbitrary but it is�Kh&Kh K�always the same color for�Kh&Kh K�the same kind. The remaing�Kh&Kh K�kinds, if any, are shown in�Kh&Kh K�black. �Kh&Kh K�Size / Count�Kh Kh8Kh K�should display the size of �Kh K�objects of a particular kind �Kh K�or the number of objects of �Kh K�that kind. �Kh K�'(Note that this affects only the graph,�Kh&Kh K�(the table will still choose size or kind�Kh&Kh K�'as it were choosen in the table menu.) �Kh&K�Table Menu �K�Header submenu �KXT This menu has a choice of header for each column of the table. The data of each column is determined by the header of that column, as well as the headers of previous columns. So if you change the first column header (A/B), the data in that column will change as well as the data under the next header (Size/Count) and the ones that follow. �Kh K�A / B�Kh K�Use the sample at the A �Kh K�or B marker in the graph. �Kh Kh&Kh K�The kinds of objects�Kh&Kh K�shown in the table under�Kh&Kh K�this column are taken�Kh&Kh K�from the 10 largest�Kh&Kh K�sample values at that�Kh&Kh K�point, in the same order�Kh&Kh K�as they are shown in the�Kh&Kh K�graph. The ordering in�Kh&Kh K�the graph depends on the�Kh&Kh K�choice of count or size�Kh&Kh K�in the graph menu.�Kh&Kh K�However, the table may�Kh&Kh K�show count or size�Kh&Kh K�independent from the�Kh&Kh K�choice in the graph. �Kh&Kh KhMKh K�Show the size or count of �Kh K�the kinds of objects in �Kh K�each row, taken from �Kh K�those choosen in the A / �Kh K�B column. �Kh K�%A:Tot / %B:Tot�Kh K�Show percentage of the �Kh K�Size / Count column, �Kh K�relative to the total �Kh K�(size or count) at either �Kh K�the A or B sample point. �Kh K�Cumul /�Kh K�Show either a cumulative �Kh K� �K� A-B / B-A�Kh K�sum of the Size / Count �Kh K�column, or the difference �Kh K� A-B or B-A. �Kh K�The cumulative sum is�Kh&Kh K�taken by summing from the�Kh&Kh K�first table row down to�Kh&Kh K�the last row. �Kh&Kh KhoKh KhpKh K�previous field, relative �Kh K�to either the A or B �Kh K�total. �Kh K�Kind�Kh K�Shows the kind of �Kh K�objects. This is �Kh K�currently the only �Kh K�alternative for this �Kh K�column. The kind shown �Kh K�corresponds to the color �Kh K�shown in the A / B �Kh K�column. A special kind is �Kh K�<Other> which summarizes �Kh K�the remaining data if �Kh K�there were more than 10 �Kh K�different kinds in the �Kh K� sample. �K�Scrollbar submenu �Kh K�Auto / On / Off�Kh K�Choose a scrollbar mode. �Kh K�The usual setting is Auto �Kh K�which shows the scrollbar �Kh K�only when needed. �K�Window Menu �K�qThis menu lists the names of all open windows. Selecting one brings it to the top, deiconifying it if necessary. �K� Help Menu �Kh K�About�Kh K�#Version, author, email, copyright. �Kh K�Help�Kh K�Open this help window. �K �Panes �K��There are 3 panes in the main window shown by default. At the top is the Control Panel, at the bottom left the Graph and at the bottom right the Table. �K�Control Panel Pane �K�lThis contains controls for the graph and the markers. It also has a quick-exit button and a collect button. �K�X / Y axis control �K��The two frames in the Control Panel having an X or Y button in the top left corner control each axis of the graph. The X, horizontal, axis shows the sample point. The Y axis shows either the size or count, as choosen in the Graph menu. �Kh K�X / Y Button�Kh K�Brings up a menu, currently �K h K�containing some buttons �K h K�that can also be accessed �K h K�directly in the panel. �K!h K�Grid button�K!h K�Select if the graph should �K h K�show grid lines. �K!h K� Range buttons�K!h K�Change the range that is �K h KhwK�- / +�K h K�shown in the displayed �K h K�portion of the graph. For �K h K�each time + or - is pressed �K h K�the range will be stepped �K h K�up or down in the sequence �K h K�(1, 2, 5) and multiples �K h K�thereoff. �K!h K�Range field�K!h K�The current range is shown �K h K�here, and a new range can �K h K�be entered by writing to �K h K�this field and pressing �K h K�Enter. The format is an �K h K�integer that may be �K h K�followed by a multiplier, �K h K�K, M, G, or T, meaning that �K h K�the value is multipled by �K h K�1000, 1E6, 1E9, or 1E12 �K h K�respectively. The maximum �K h K�range is 1T. �K�A / B sample control �K��Each of the frames showing A or B in the top left corner controls one of the sample markers. The current position is shown in the bottom left corner.�K"��(This is currently not an entry field - TODO - but the marker may be moved long distances by directly dragging it in the Graph frame.)�Kh&K#h Kh�K#h K�Step the marker one step to �K$h K�the left (-) or to the right �K$h K�(+). �K$h K�The table will be updated to�Kh&K$h K�show new data if it was set�Kh&K$h K�to show such data that were�Kh&K$h K�dependent on the marker�Kh&K$h K�moved. �Kh&K$h K�The graph will show the new�Kh&K$h K�marker position. If the�Kh&K$h K�marker was outside of the�Kh&K$h K�displayed portion of the�Kh&K$h K�graph, the graph will scroll�Kh&K$h K�so the marker becomes�Kh&K$h K� visible. �Kh&K%h K�Track button�K%h K�Press to set the marker to �K$h K�the last sample in the file �K$h K�and stay at the end as new �K$h K�samples are added. (New �K$h K�samples are periodically �K$h K�read from the end of the �K$h K�file when auto-collect is �K$h K�selected via the Collect �K$h K� button.) �K$h K�Tracking is turned off when�Kh&K$h K�the marker is manually�Kh&K$h Kh�Kh&K�Exit button �K�EExits the program, a shortcut for the Exit command in the File menu. �K�Collect button �K�vWhen selected, the browser will collect new samples from the current file, and will continue to do this periodically. �K"�<Currently it will check the file for new data once a second.�Kh&K�Graph Pane �KX This pane shows the currently visible portion of the sample file. It can be scrolled via an horizontal scrollbar. The two markers are shown as buttons labeled A and B above the graph and with lines extending down in the graph. Markers can be moved by the mouse. �K�tHow to move the markers is hopefully quite self evident when tried out but I wrote up some details about it anyway. �K�Marker movement details �K&X� Holding down the mouse button and moving the mouse moves the underlying marker. Klicking the mouse button over a marker without moving the mouse, selects the marker. While it is selected any movement of the mouse within the graph will move the marker with it. Klicking again anywhere in the graph will deselect the marker. If the marker can be moved, the cursor will be an arrow indicating the direction it can be moved, left or right or both. If the marker can not be moved in any direction, the cursor will show a circle or disc. The marker can not move outside the available samples. Moving the mouse outside of the graph also restricts the movement of the mouse, even if the mouse button is pressed. This is intentional so that the marker can be moved longer distances than the mouse can move. Moving the mouse to the right of the graph, the marker can only be moved to the right - moving back the mouse will not move the marker back until the mouse enters the graph area again. Similarly for the left side. Above or below the graph, the mouse will not move the marker at all but will show a circle to indicate that the mouse may be 'recirculated' to move back into the graph. �K�Table Pane �K�This pane shows a table based on the configuration set in the Table menu. The sample number and time stamp show in the header. �e�tag_configs�}�(K �spacing1�K ���font��times�K�bold�������Kh�h�h�K������Kh�K��h���Kh�K ��h�h�K�bold�������Kh���K(�lmargin1�K$���lmargin2�K$��h�h�h�K�bold�����t�K(j j h�h�t�K(�tabs�(G@`` �center�G@m� �left�t���j j h�j t�Kj ��K j h���K (j j h�h�h�K�italic�����t�Kj j h���K(j (G@_� j G@l@ j t���j j h�j t�K j ��Kj h���K(j (G@X j G@d� j t���j j h�j t�Kj ��Kj h���Kj j h�h�K ������K(j j h�K��j t�K(j KH��j KH��h�j t�K(j' j( h�h�t�K(j (G@b` j G@m j t���j' j( h�j t�Kj, ��Kj' j( h���Kj, h���Kj) Kj' j( j ��K(j (G@N� j G@X j t���j j h�j t�Kj3 h���Kh�h���K(j (G@a j G@j� j t���j' j( h�j t�K j8 ��K!j8 h���K"j' j( j# ��K#(j (G@`� j G@i@ j t���j' j( h�j t�K$j> ��K%j> h���K&(j j j% h�t�u� _gsl_title��Help for Heapy Profile Browser�ub.N)�about�help� � �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/heapy/pbhelp.py�<module>r s �� A�� sA���r