ArmNN
 26.07
ArmNNProfiling.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022, 2025 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 #include <cstdint>
11 
12 namespace arm
13 {
14 
15 namespace pipe
16 {
17 // Static constants describing ArmNN's counter UID's
18 static const uint16_t NETWORK_LOADS = 0;
19 static const uint16_t NETWORK_UNLOADS = 1;
20 static const uint16_t REGISTERED_BACKENDS = 2;
21 static const uint16_t UNREGISTERED_BACKENDS = 3;
22 static const uint16_t INFERENCES_RUN = 4;
23 static const uint16_t MAX_ARMNN_COUNTER = INFERENCES_RUN;
24 
25 // Static holding Arm NN's software descriptions
26 static std::string ARMNN_SOFTWARE_INFO("ArmNN");
27 static std::string ARMNN_HARDWARE_VERSION;
28 static std::string ARMNN_SOFTWARE_VERSION = "Armnn " + std::to_string(ARMNN_MAJOR_VERSION) + "." +
29  std::to_string(ARMNN_MINOR_VERSION);
30 } // namespace pipe
31 
32 } // namespace arm
#define ARMNN_MAJOR_VERSION
Definition: Version.hpp:13
#define ARMNN_MINOR_VERSION
Definition: Version.hpp:14