aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingUtils.hpp
blob: 12770aaee55a4c92d1de9abf4beb96c3012be61c (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
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <stdint.h>

namespace armnn
{

namespace profiling
{

void WriteUint32(unsigned char* buffer, unsigned int offset, uint32_t value);

void WriteUint16(unsigned char* buffer, unsigned int offset, uint16_t value);

uint32_t ReadUint32(const unsigned char* buffer, unsigned int offset);

uint16_t ReadUint16(const unsigned char* buffer, unsigned int offset);

} // namespace profiling

} // namespace armnn