aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/profiling/ArmNNProfiling.hpp
blob: 72fefe1cab529b6c636fe8312e5f928ca9f4dd49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <armnn/Version.hpp>

namespace arm
{

namespace pipe
{
// Static constants describing ArmNN's counter UID's
static const uint16_t NETWORK_LOADS         = 0;
static const uint16_t NETWORK_UNLOADS       = 1;
static const uint16_t REGISTERED_BACKENDS   = 2;
static const uint16_t UNREGISTERED_BACKENDS = 3;
static const uint16_t INFERENCES_RUN        = 4;
static const uint16_t MAX_ARMNN_COUNTER     = INFERENCES_RUN;

// Static holding Arm NN's software descriptions
static std::string ARMNN_SOFTWARE_INFO("ArmNN");
static std::string ARMNN_HARDWARE_VERSION;
static std::string ARMNN_SOFTWARE_VERSION = "Armnn " + std::to_string(ARMNN_MAJOR_VERSION) + "." +
                                                       std::to_string(ARMNN_MINOR_VERSION);
} // namespace pipe

} // namespace arm