1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::demo::DebugUtility</title> 51 </head> 52 <body> 53 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::DebugUtility</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class DebugUtility</pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Collection of utility functions used for demo debugging.</p> 61 </div> 62 <a name="function" id="function"> 63 <h2>Member Functions</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <th class="category" colspan="3">Show Load</th> 68 </tr> 69 <tr> 70 <td width="100"> 71 <span class="static_style" title="static">S</span> </td> 72 <th> 73 <a href="../../../nw/demo/DebugUtility/CalcLoadMeter.html"><CODE>CalcLoadMeter</CODE></a> 74 </th> 75 <td>Calculates the load.</td> 76 </tr> 77 <tr> 78 <td width="100"> 79 <span class="static_style" title="static">S</span> </td> 80 <th> 81 <a href="../../../nw/demo/DebugUtility/DrawLoadMeterText.html"><CODE>DrawLoadMeterText</CODE></a> 82 </th> 83 <td>Renders the load calculation results string.</td> 84 </tr> 85 <tr> 86 <td width="100"> 87 <span class="static_style" title="static">S</span> </td> 88 <th> 89 <a href="../../../nw/demo/DebugUtility/DrawLoadMeter.html"><CODE>DrawLoadMeter</CODE></a> 90 </th> 91 <td>Renders the load calculation results image.</td> 92 </tr> 93 <tr> 94 <td width="100"> 95 <span class="static_style" title="static">S</span> </td> 96 <th> 97 <a href="../../../nw/demo/DebugUtility/DumpLoadMeter.html"><CODE>DumpLoadMeter</CODE></a> 98 </th> 99 <td>Outputs the load measurement results to a log file.</td> 100 </tr> 101 <tr> 102 <td width="100"> 103 <span class="static_style" title="static">S</span> </td> 104 <th> 105 <a href="../../../nw/demo/DebugUtility/IsCpuProfilingMode.html"><CODE>IsCpuProfilingMode</CODE></a> 106 </th> 107 <td>Gets whether CPU performance measurement mode is enabled.</td> 108 </tr> 109 <tr> 110 <th class="category" colspan="3">Tests</th> 111 </tr> 112 <tr> 113 <td width="100"> 114 <span class="static_style" title="static">S</span> </td> 115 <th> 116 <a href="../../../nw/demo/DebugUtility/InitializeAutoTest.html"><CODE>InitializeAutoTest</CODE></a> 117 </th> 118 <td>Initializes the auto test.</td> 119 </tr> 120 <tr> 121 <td width="100"> 122 <span class="static_style" title="static">S</span> </td> 123 <th> 124 <a href="../../../nw/demo/DebugUtility/FinalizeAutoTest.html"><CODE>FinalizeAutoTest</CODE></a> 125 </th> 126 <td>Finalizes the auto test.</td> 127 </tr> 128 <tr> 129 <td width="100"> 130 <span class="static_style" title="static">S</span> </td> 131 <th> 132 <a href="../../../nw/demo/DebugUtility/AdvanceAutoTestFrame.html"><CODE>AdvanceAutoTestFrame</CODE></a> 133 </th> 134 <td>Advances the auto test frame.</td> 135 </tr> 136 <tr> 137 <td width="100"> 138 <span class="static_style" title="static">S</span> </td> 139 <th> 140 <a href="../../../nw/demo/DebugUtility/PostInitializeScenes.html"><CODE>PostInitializeScenes</CODE></a> 141 </th> 142 <td>Runs the test after <CODE>InitializeScenes</CODE>.</td> 143 </tr> 144 <tr> 145 <td width="100"> 146 <span class="static_style" title="static">S</span> </td> 147 <th> 148 <a href="../../../nw/demo/DebugUtility/PreTerminateScenes.html"><CODE>PreTerminateScenes</CODE></a> 149 </th> 150 <td>Runs the test after <CODE>TerminateScenes</CODE>.</td> 151 </tr> 152 <tr> 153 <th class="category" colspan="3">Memory Leak Tests</th> 154 </tr> 155 <tr> 156 <td width="100"> 157 <span class="static_style" title="static">S</span> </td> 158 <th> 159 <a href="../../../nw/demo/DebugUtility/SetAllocatorForTest.html"><CODE>SetAllocatorForTest</CODE></a> 160 </th> 161 <td>Specifies the allocator to test for memory leak detection and other purposes.</td> 162 </tr> 163 <tr> 164 <td width="100"> 165 <span class="static_style" title="static">S</span> </td> 166 <th> 167 <a href="../../../nw/demo/DebugUtility/ResetMemoryLeakTester.html"><CODE>ResetMemoryLeakTester</CODE></a> 168 </th> 169 <td>Resets the memory leak test feature.</td> 170 </tr> 171 <tr> 172 <td width="100"> 173 <span class="static_style" title="static">S</span> </td> 174 <th> 175 <a href="../../../nw/demo/DebugUtility/TestMemoryLeak.html"><CODE>TestMemoryLeak</CODE></a> 176 </th> 177 <td>Tests for memory leaks.</td> 178 </tr> 179 <tr> 180 <th class="category" colspan="3">Log Output Control</th> 181 </tr> 182 <tr> 183 <td width="100"> 184 <span class="static_style" title="static">S</span> </td> 185 <th> 186 <a href="../../../nw/demo/DebugUtility/SetSilentMode.html"><CODE>SetSilentMode</CODE></a> 187 </th> 188 <td>Disable log output from the debug utility class.</td> 189 </tr> </table> 190 </div> 191 </a> 192 <hr><p>CONFIDENTIAL</p></body> 193</html>