Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: include/armnn/Logging.hpp File Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_logging_8hpp.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#nested-classes">Classes</a> | |
| 85 | <a href="#namespaces">Namespaces</a> | |
| 86 | <a href="#define-members">Macros</a> | |
| 87 | <a href="#enum-members">Enumerations</a> | |
| 88 | <a href="#func-members">Functions</a> </div> |
| 89 | <div class="headertitle"> |
| 90 | <div class="title">Logging.hpp File Reference</div> </div> |
| 91 | </div><!--header--> |
| 92 | <div class="contents"> |
| 93 | <div class="textblock"><code>#include <<a class="el" href="_utils_8hpp_source.html">armnn/Utils.hpp</a>></code><br /> |
| 94 | <code>#include <iostream></code><br /> |
| 95 | </div> |
| 96 | <p><a href="_logging_8hpp_source.html">Go to the source code of this file.</a></p> |
| 97 | <table class="memberdecls"> |
| 98 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 99 | Classes</h2></td></tr> |
| 100 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_log_sink.html">LogSink</a></td></tr> |
| 101 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_standard_output_sink.html">StandardOutputSink</a></td></tr> |
| 103 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 104 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_scoped_record.html">ScopedRecord</a></td></tr> |
| 105 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_simple_logger.html">SimpleLogger< Level ></a></td></tr> |
| 107 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | </table><table class="memberdecls"> |
| 109 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 110 | Namespaces</h2></td></tr> |
| 111 | <tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html">armnn</a></td></tr> |
| 112 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | </table><table class="memberdecls"> |
| 114 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 115 | Macros</h2></td></tr> |
| 116 | <tr class="memitem:a7b6ad073975f437ec38ca7d20154727f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(severity)   <a class="el" href="classarmnn_1_1_simple_logger.html">armnn::SimpleLogger</a><ConvertLogSeverity(armnn::BoostLogSeverityMapping::severity)>::Get().StartNewRecord()</td></tr> |
| 117 | <tr class="separator:a7b6ad073975f437ec38ca7d20154727f"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | </table><table class="memberdecls"> |
| 119 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> |
| 120 | Enumerations</h2></td></tr> |
| 121 | <tr class="memitem:a4dc0adc6737b5944e7671bee71788407"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407">BoostLogSeverityMapping</a> { <br /> |
| 122 |   <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407a04a75036e9d520bb983c5ed03b8d0182">trace</a>, |
| 123 | <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407aad42f6697b035b7580e4fef93be20b4d">debug</a>, |
| 124 | <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, |
| 125 | <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407a7b83d3f08fa392b79e3f553b585971cd">warning</a>, |
| 126 | <br /> |
| 127 |   <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>, |
| 128 | <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407adf6402fd9ecc60f5a2159fdf45711cd4">fatal</a> |
| 129 | <br /> |
| 130 | }</td></tr> |
| 131 | <tr class="separator:a4dc0adc6737b5944e7671bee71788407"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | </table><table class="memberdecls"> |
| 133 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 134 | Functions</h2></td></tr> |
| 135 | <tr class="memitem:a71f2cc06b097cb5c4f0a1f48130a823b"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#a71f2cc06b097cb5c4f0a1f48130a823b">LevelToString</a> (LogSeverity level)</td></tr> |
| 136 | <tr class="separator:a71f2cc06b097cb5c4f0a1f48130a823b"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:ac9aad76a34137b6359a867b282ea7cfb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#ac9aad76a34137b6359a867b282ea7cfb">SetLogFilter</a> (LogSeverity level)</td></tr> |
| 138 | <tr class="separator:ac9aad76a34137b6359a867b282ea7cfb"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:a7f8325a4bc02f2f687ba1968b595ec0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#a7f8325a4bc02f2f687ba1968b595ec0a">SetAllLoggingSinks</a> (bool standardOut, bool debugOut, bool coloured)</td></tr> |
| 140 | <tr class="separator:a7f8325a4bc02f2f687ba1968b595ec0a"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:a9cdee30c21f3dd630b4e460527105b74"><td class="memItemLeft" align="right" valign="top">constexpr LogSeverity </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#a9cdee30c21f3dd630b4e460527105b74">ConvertLogSeverity</a> (BoostLogSeverityMapping severity)</td></tr> |
| 142 | <tr class="separator:a9cdee30c21f3dd630b4e460527105b74"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | </table> |
| 144 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 145 | <a id="a7b6ad073975f437ec38ca7d20154727f"></a> |
| 146 | <h2 class="memtitle"><span class="permalink"><a href="#a7b6ad073975f437ec38ca7d20154727f">◆ </a></span>ARMNN_LOG</h2> |
| 147 | |
| 148 | <div class="memitem"> |
| 149 | <div class="memproto"> |
| 150 | <table class="memname"> |
| 151 | <tr> |
| 152 | <td class="memname">#define ARMNN_LOG</td> |
| 153 | <td>(</td> |
| 154 | <td class="paramtype"> </td> |
| 155 | <td class="paramname">severity</td><td>)</td> |
| 156 | <td>   <a class="el" href="classarmnn_1_1_simple_logger.html">armnn::SimpleLogger</a><ConvertLogSeverity(armnn::BoostLogSeverityMapping::severity)>::Get().StartNewRecord()</td> |
| 157 | </tr> |
| 158 | </table> |
| 159 | </div><div class="memdoc"> |
| 160 | |
| 161 | <p class="definition">Definition at line <a class="el" href="_logging_8hpp_source.html#l00163">163</a> of file <a class="el" href="_logging_8hpp_source.html">Logging.hpp</a>.</p> |
| 162 | |
| 163 | <p class="reference">Referenced by <a class="el" href="_unit_tests_8cpp_source.html#l00068">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_network_8cpp_source.html#l00098">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_cl_backend_context_8cpp_source.html#l00153">ClBackendContext::ClBackendContext()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00263">DynamicBackendUtils::CreateDynamicBackends()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.html#l00597">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00412">LoadedNetwork::EnqueueWorkload()</a>, <a class="el" href="_ref_normalization_workload_8cpp_source.html#l00165">RefNormalizationWorkload::Execute()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00660">LoadedNetwork::FreeWorkingMemory()</a>, <a class="el" href="_model_accuracy_checker_8cpp_source.html#l00023">ModelAccuracyChecker::GetAccuracy()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00080">DynamicBackendUtils::GetBackendPaths()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00176">DynamicBackendUtils::GetSharedObjects()</a>, <a class="el" href="_mnist_database_8cpp_source.html#l00027">MnistDatabase::GetTestCaseData()</a>, <a class="el" href="_cifar10_database_8cpp_source.html#l00020">Cifar10Database::GetTestCaseData()</a>, <a class="el" href="_yolo_database_8cpp_source.html#l00075">YoloDatabase::GetTestCaseData()</a>, <a class="el" href="_inference_test_8cpp_source.html#l00120">armnn::test::InferenceTest()</a>, <a class="el" href="_inference_test_8inl_source.html#l00301">armnn::test::InferenceTestMain()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00145">DynamicBackendUtils::IsPathValid()</a>, <a class="el" href="_armnn_converter_8cpp_source.html#l00359">main()</a>, <a class="el" href="_network_execution_utils_8hpp_source.html#l00377">MainImpl()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_inference_test_8inl_source.html#l00249">ClassifierTestCaseProvider< TDatabase, InferenceModel >::OnInferenceTestFinished()</a>, <a class="el" href="_cl_backend_context_8cpp_source.html#l00078">armnn::ParseTuningLevel()</a>, <a class="el" href="_periodic_counter_selection_command_handler_8hpp_source.html#l00035">PeriodicCounterSelectionCommandHandler::PeriodicCounterSelectionCommandHandler()</a>, <a class="el" href="_graph_8cpp_source.html#l00061">Graph::Print()</a>, <a class="el" href="_yolo_inference_test_8hpp_source.html#l00033">YoloTestCase< Model >::ProcessResult()</a>, <a class="el" href="_inference_test_8inl_source.html#l00116">ClassifierTestCase< TTestCaseDatabase, TModel >::ProcessResult()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00335">DynamicBackendUtils::RegisterDynamicBackendsImpl()</a>, <a class="el" href="_network_8cpp_source.html#l00074">armnn::ReportError()</a>, <a class="el" href="_network_8cpp_source.html#l00086">armnn::ReportWarning()</a>, <a class="el" href="_network_execution_utils_8hpp_source.html#l00731">RunCsvTest()</a>, <a class="el" href="_network_execution_utils_8hpp_source.html#l00520">RunTest()</a>, <a class="el" href="_runtime_8cpp_source.html#l00155">Runtime::Runtime()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00159">OriginsDescriptor::SetViewOriginCoord()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00307">ViewsDescriptor::SetViewSize()</a>, <a class="el" href="_command_handler_8cpp_source.html#l00034">CommandHandler::Stop()</a>, <a class="el" href="_periodic_counter_capture_8cpp_source.html#l00037">PeriodicCounterCapture::Stop()</a>, <a class="el" href="_runtime_8cpp_source.html#l00105">Runtime::UnloadNetwork()</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00088">ProfilingService::Update()</a>, and <a class="el" href="_cl_backend_context_8cpp_source.html#l00277">ClBackendContext::~ClBackendContext()</a>.</p> |
| 164 | |
| 165 | </div> |
| 166 | </div> |
| 167 | </div><!-- contents --> |
| 168 | </div><!-- doc-content --> |
| 169 | <!-- start footer part --> |
| 170 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 171 | <ul> |
| 172 | <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_2b72cc348e06937955e62ebdd8a13436.html">armnn</a></li><li class="navelem"><a class="el" href="_logging_8hpp.html">Logging.hpp</a></li> |
| 173 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 174 | <a href="http://www.doxygen.org/index.html"> |
| 175 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 176 | </ul> |
| 177 | </div> |
| 178 | </body> |
| 179 | </html> |