From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_utils_8hpp_source.xhtml | 123 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 20.02/_utils_8hpp_source.xhtml (limited to '20.02/_utils_8hpp_source.xhtml') diff --git a/20.02/_utils_8hpp_source.xhtml b/20.02/_utils_8hpp_source.xhtml new file mode 100644 index 0000000000..9227acf365 --- /dev/null +++ b/20.02/_utils_8hpp_source.xhtml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + +ArmNN: include/armnn/Utils.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Utils.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include "armnn/TypesUtils.hpp"
8 
9 namespace armnn
10 {
11 
12 enum class LogSeverity
13 {
14  Trace,
15  Debug,
16  Info,
17  Warning,
18  Error,
19  Fatal
20 };
21 
22 /// Configures the logging behaviour of the ARMNN library.
23 /// printToStandardOutput: Set to true if log messages should be printed to the standard output.
24 /// printToDebugOutput: Set to true if log messages be printed to a platform-specific debug output
25 /// (where supported).
26 /// severity: All log messages that are at this severity level or higher will be printed, others will be ignored.
27 void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity);
28 
29 
30 #if defined(__clang__) &&((__clang_major__>=3)||(__clang_major__==3 && __clang_minor__ >= 5))
31 # define ARMNN_FALLTHROUGH [[clang::fallthrough]]
32 #elif defined(__GNUC__) && (__GNUC__ >= 7)
33 # define ARMNN_FALLTHROUGH __attribute__((fallthrough))
34 #else
35 # define ARMNN_FALLTHROUGH ((void)0)
36 #endif
37 
38 } // namespace armnn
+
void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity)
Configures the logging behaviour of the ARMNN library.
Definition: Utils.cpp:10
+ +
Copyright (c) 2020 ARM Limited.
+ + + + + +
LogSeverity
Definition: Utils.hpp:12
+
+
+ + + + -- cgit v1.2.1