diff options
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 |