ArmNN
 21.02
IProfilingGuidGenerator.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Types.hpp>
9 
10 #include <string>
11 
12 namespace armnn
13 {
14 
15 namespace profiling
16 {
17 
19 {
20 public:
21  /// Return the next random Guid in the sequence
22  virtual ProfilingDynamicGuid NextGuid() = 0;
23 
24  /// Create a ProfilingStaticGuid based on a hash of the string
25  virtual ProfilingStaticGuid GenerateStaticId(const std::string& str) = 0;
26 
28 };
29 
30 } // namespace profiling
31 
32 } // namespace armnn
virtual ProfilingDynamicGuid NextGuid()=0
Return the next random Guid in the sequence.
Strongly typed guids to distinguish between those generated at runtime, and those that are statically...
Definition: Types.hpp:335
Copyright (c) 2021 ARM Limited and Contributors.
virtual ProfilingStaticGuid GenerateStaticId(const std::string &str)=0
Create a ProfilingStaticGuid based on a hash of the string.