diff options
author | Ferran Balaguer <ferran.balaguer@arm.com> | 2019-09-02 16:39:42 +0100 |
---|---|---|
committer | Ferran Balaguer Arm <ferran.balaguer@arm.com> | 2019-09-03 12:31:08 +0000 |
commit | 7388217c07ccbd387d3bcfbde76cca744c4fd6fe (patch) | |
tree | 5967ab190d339adb54ceaedf10a75455ba0eed5b /src/profiling/ProfilingUtils.hpp | |
parent | af5c46bde858e88392214be41361588c1ebee5f0 (diff) | |
download | armnn-7388217c07ccbd387d3bcfbde76cca744c4fd6fe.tar.gz |
IVGCVSW-3693 Implement SendCounterPacket.SendPeriodicCounterSelectionPacket() function
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Change-Id: Ib034a4f5ca589759d925e3dd0ca50e5a3dfa74c5
Diffstat (limited to 'src/profiling/ProfilingUtils.hpp')
-rw-r--r-- | src/profiling/ProfilingUtils.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/profiling/ProfilingUtils.hpp b/src/profiling/ProfilingUtils.hpp new file mode 100644 index 0000000000..12770aaee5 --- /dev/null +++ b/src/profiling/ProfilingUtils.hpp @@ -0,0 +1,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
\ No newline at end of file |