Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /opt/alt/python27/lib64/python2.7/site-packages/guppy/doc/ |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html lang=en> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <title></title></head> <body> <div><a name='kindnames.guppy'> <h1>.tgt.kindnames.guppy</h1></a> <dl> <dt> <h2>Name</h2></dt> <dd> <h2>guppy</h2></dd> <dt> <h2>Synopsis</h2></dt> <dd> <dl> <dt><strong><big>Methods</big></strong></dt> <dd><big><a href='#kindnames.guppy.hpy'>hpy</a></big>( [<code>ht</code><strong> = </strong><em>Any+</em>]) <strong>-></strong> <a href='heapy_Use.html#heapykinds.Use'>Use</a></dd> <dd><big><a href='#kindnames.guppy.Root'>Root</a></big>() <strong>-></strong> <em>guppy_Root</em></dd></dl></dd> <dt> <h2>Methods</h2></dt> <dd><a name='kindnames.guppy.hpy'><strong><big>hpy</big></strong></a>( [<code>ht</code><strong> = </strong><em>Any+</em>]) <strong>-></strong> <a href='heapy_Use.html#heapykinds.Use'>Use</a> <dl> <dd> Create a new heapy object that may be used for accessing all of the heapy functionality. Methods and modules are imported by this object on demand when needed. Two commonly used methods are heap and iso. </dd> <dd> An example: <pre> >>> from guppy import hpy >>> hpy().heap() # Show current reachable heap Partition of a set of 28719 objects. Total size = 1984808 bytes. Index Count % Size % Cumulative % Kind (class / dict of class) 0 15368 54 935952 47 935952 47 str ... 9 794 3 28584 1 1842168 93 __builtin__.wrapper_descriptor <101 more rows. Type e.g. '_.more' to view.> >>> </pre></dd> <dd> To see more about how the heapy object may be used, follow the link on the return kind. </dd> <dd> Normally no arguments need to be given. The arguments that may be given are for special cases. </dd> <dd> <dl> <dt><strong>Argument</strong></dt> <dd> <dl> <dt><code>ht</code><strong> = </strong><em>Any+</em></dt> <dd> The hiding tag to use. It may be useful to specify this in some cases when using multiple heapy instances, when you want to see the data in some of the other instances.</dd> <dd> <dl> <dt><strong>Default: </strong>will be set to the same unique object each</dt> <dd> time. In this way, different heapy instances will not see each other's data.</dd></dl></dd></dl></dd></dl></dd></dl></dd> <dd><a name='kindnames.guppy.Root'><strong><big>Root</big></strong></a>() <strong>-></strong> <em>guppy_Root</em> <dl> <dd> Create a new guppy Root object. <p> All functionality in the system may be accessed from this object. Modules are imported on demand when accessed. Other objects may be created or imported on demand using <em>Guppy Glue+</em> directives. </p> <p> As this is a general access point, the heapy functionality may be accessed from here as well as via the hpy() method. How it is done is beyond the scope of this documentation, and is to be regarded an implementation detail, but you can of course look at the source code for the hpy method. </p> <p> There is currently no arguments to this constructor, I may think of adding some options in the future, but it has not yet been needed. </p></dd></dl></dd></dl> <hr>Generated by <a href="http://guppy-pe.sourceforge.net/gsl.html">GSL-HTML 0.1.5</a> on Sat Jul 4 13:25:11 2009</div></body></html>