ArmNN
 24.08
ArmNNProfiling.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Version.hpp>
9 
10 namespace arm
11 {
12 
13 namespace pipe
14 {
15 // Static constants describing ArmNN's counter UID's
16 static const uint16_t NETWORK_LOADS = 0;
17 static const uint16_t NETWORK_UNLOADS = 1;
18 static const uint16_t REGISTERED_BACKENDS = 2;
19 static const uint16_t UNREGISTERED_BACKENDS = 3;
20 static const uint16_t INFERENCES_RUN = 4;
21 static const uint16_t MAX_ARMNN_COUNTER = INFERENCES_RUN;
22 
23 // Static holding Arm NN's software descriptions
24 static std::string ARMNN_SOFTWARE_INFO("ArmNN");
25 static std::string ARMNN_HARDWARE_VERSION;
26 static std::string ARMNN_SOFTWARE_VERSION = "Armnn " + std::to_string(ARMNN_MAJOR_VERSION) + "." +
27  std::to_string(ARMNN_MINOR_VERSION);
28 } // namespace pipe
29 
30 } // namespace arm
arm
Definition: BackendRegistry.hpp:15
ARMNN_MINOR_VERSION
#define ARMNN_MINOR_VERSION
Definition: Version.hpp:14
Version.hpp
ARMNN_MAJOR_VERSION
#define ARMNN_MAJOR_VERSION
Definition: Version.hpp:13