blob: 96e17921460b1dda6141e2329432a97ef85c64d8 [file] [log] [blame]
Jim Flynn00f3aaf2019-10-24 11:58:06 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "ProfilingGuid.hpp"
9
10namespace armnn
11{
12
13namespace profiling
14{
15
16class IProfilingGuidGenerator
17{
18public:
19 /// Return the next random Guid in the sequence
20 virtual ProfilingDynamicGuid NextGuid() = 0;
21
22 /// Create a ProfilingStaticGuid based on a hash of the string
23 virtual ProfilingStaticGuid GenerateStaticId(const std::string& str) = 0;
24
25 virtual ~IProfilingGuidGenerator() {}
26};
27
28} // namespace profiling
29
30} // namespace armnn