1<?xml version="1.0" encoding="ascii"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5<head> 6 <title>lldb.formatters.metrics.Metrics</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9</head> 10 11<body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13<!-- ==================== NAVIGATION BAR ==================== --> 14<table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 18 <!-- Tree link --> 19 <th> <a 20 href="module-tree.html">Trees</a> </th> 21 22 <!-- Index link --> 23 <th> <a 24 href="identifier-index.html">Indices</a> </th> 25 26 <!-- Help link --> 27 <th> <a 28 href="help.html">Help</a> </th> 29 30 <!-- Project homepage --> 31 <th class="navbar" align="right" width="100%"> 32 <table border="0" cellpadding="0" cellspacing="0"> 33 <tr><th class="navbar" align="center" 34 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 35 </tr></table></th> 36 </tr> 37</table> 38<table width="100%" cellpadding="0" cellspacing="0"> 39 <tr valign="top"> 40 <td width="100%"> 41 <span class="breadcrumbs"> 42 lldb :: 43 formatters :: 44 metrics :: 45 Metrics :: 46 Class Metrics 47 </span> 48 </td> 49 <td> 50 <table cellpadding="0" cellspacing="0"> 51 <!-- hide/show private --> 52 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 53 onclick="toggle_private();">hide private</a>]</span></td></tr> 54 <tr><td align="right"><span class="options" 55 >[<a href="frames.html" target="_top">frames</a 56 >] | <a href="lldb.formatters.metrics.Metrics-class.html" 57 target="_top">no frames</a>]</span></td></tr> 58 </table> 59 </td> 60 </tr> 61</table> 62<!-- ==================== CLASS DESCRIPTION ==================== --> 63<h1 class="epydoc">Class Metrics</h1><p class="nomargin-top"><span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics">source code</a></span></p> 64<!-- ==================== INSTANCE METHODS ==================== --> 65<a name="section-InstanceMethods"></a> 66<table class="summary" border="1" cellpadding="3" 67 cellspacing="0" width="100%" bgcolor="white"> 68<tr bgcolor="#70b0f0" class="table-header"> 69 <td colspan="2" class="table-header"> 70 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 71 <tr valign="top"> 72 <td align="left"><span class="table-header">Instance Methods</span></td> 73 <td align="right" valign="top" 74 ><span class="options">[<a href="#section-InstanceMethods" 75 class="privatelink" onclick="toggle_private();" 76 >hide private</a>]</span></td> 77 </tr> 78 </table> 79 </td> 80</tr> 81<tr> 82 <td width="15%" align="right" valign="top" class="summary"> 83 <span class="summary-type"> </span> 84 </td><td class="summary"> 85 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 86 <tr> 87 <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>)</span></td> 88 <td align="right" valign="top"> 89 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.__init__">source code</a></span> 90 91 </td> 92 </tr> 93 </table> 94 95 </td> 96 </tr> 97<tr> 98 <td width="15%" align="right" valign="top" class="summary"> 99 <span class="summary-type"> </span> 100 </td><td class="summary"> 101 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 102 <tr> 103 <td><span class="summary-sig"><a name="add_metric"></a><span class="summary-sig-name">add_metric</span>(<span class="summary-sig-arg">self</span>, 104 <span class="summary-sig-arg">name</span>)</span></td> 105 <td align="right" valign="top"> 106 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.add_metric">source code</a></span> 107 108 </td> 109 </tr> 110 </table> 111 112 </td> 113 </tr> 114<tr> 115 <td width="15%" align="right" valign="top" class="summary"> 116 <span class="summary-type"> </span> 117 </td><td class="summary"> 118 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 119 <tr> 120 <td><span class="summary-sig"><a name="metric_hit"></a><span class="summary-sig-name">metric_hit</span>(<span class="summary-sig-arg">self</span>, 121 <span class="summary-sig-arg">metric</span>, 122 <span class="summary-sig-arg">trigger</span>)</span></td> 123 <td align="right" valign="top"> 124 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.metric_hit">source code</a></span> 125 126 </td> 127 </tr> 128 </table> 129 130 </td> 131 </tr> 132<tr> 133 <td width="15%" align="right" valign="top" class="summary"> 134 <span class="summary-type"> </span> 135 </td><td class="summary"> 136 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 137 <tr> 138 <td><span class="summary-sig"><a name="__getitem__"></a><span class="summary-sig-name">__getitem__</span>(<span class="summary-sig-arg">self</span>, 139 <span class="summary-sig-arg">key</span>)</span></td> 140 <td align="right" valign="top"> 141 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.__getitem__">source code</a></span> 142 143 </td> 144 </tr> 145 </table> 146 147 </td> 148 </tr> 149<tr> 150 <td width="15%" align="right" valign="top" class="summary"> 151 <span class="summary-type"> </span> 152 </td><td class="summary"> 153 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 154 <tr> 155 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 156 <span class="summary-sig-arg">name</span>)</span></td> 157 <td align="right" valign="top"> 158 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.__getattr__">source code</a></span> 159 160 </td> 161 </tr> 162 </table> 163 164 </td> 165 </tr> 166<tr> 167 <td width="15%" align="right" valign="top" class="summary"> 168 <span class="summary-type"> </span> 169 </td><td class="summary"> 170 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 171 <tr> 172 <td><span class="summary-sig"><a name="__str__"></a><span class="summary-sig-name">__str__</span>(<span class="summary-sig-arg">self</span>)</span></td> 173 <td align="right" valign="top"> 174 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.__str__">source code</a></span> 175 176 </td> 177 </tr> 178 </table> 179 180 </td> 181 </tr> 182<tr> 183 <td width="15%" align="right" valign="top" class="summary"> 184 <span class="summary-type"> </span> 185 </td><td class="summary"> 186 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 187 <tr> 188 <td><span class="summary-sig"><a name="metric_success"></a><span class="summary-sig-name">metric_success</span>(<span class="summary-sig-arg">self</span>, 189 <span class="summary-sig-arg">metric</span>)</span></td> 190 <td align="right" valign="top"> 191 <span class="codelink"><a href="lldb.formatters.metrics-pysrc.html#Metrics.metric_success">source code</a></span> 192 193 </td> 194 </tr> 195 </table> 196 197 </td> 198 </tr> 199</table> 200<!-- ==================== NAVIGATION BAR ==================== --> 201<table class="navbar" border="0" width="100%" cellpadding="0" 202 bgcolor="#a0c0ff" cellspacing="0"> 203 <tr valign="middle"> 204 205 <!-- Tree link --> 206 <th> <a 207 href="module-tree.html">Trees</a> </th> 208 209 <!-- Index link --> 210 <th> <a 211 href="identifier-index.html">Indices</a> </th> 212 213 <!-- Help link --> 214 <th> <a 215 href="help.html">Help</a> </th> 216 217 <!-- Project homepage --> 218 <th class="navbar" align="right" width="100%"> 219 <table border="0" cellpadding="0" cellspacing="0"> 220 <tr><th class="navbar" align="center" 221 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 222 </tr></table></th> 223 </tr> 224</table> 225<table border="0" cellpadding="0" cellspacing="0" width="100%%"> 226 <tr> 227 <td align="left" class="footer"> 228 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013 229 </td> 230 <td align="right" class="footer"> 231 <a target="mainFrame" href="http://epydoc.sourceforge.net" 232 >http://epydoc.sourceforge.net</a> 233 </td> 234 </tr> 235</table> 236 237<script type="text/javascript"> 238 <!-- 239 // Private objects are initially displayed (because if 240 // javascript is turned off then we want them to be 241 // visible); but by default, we want to hide them. So hide 242 // them unless we have a cookie that says to show them. 243 checkCookie(); 244 // --> 245</script> 246</body> 247</html> 248