blob: 38816faf3e0c51f55462f91ec6fc6ce73b095773 (
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
27
28
29
30
31
32
33
|
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "IProfilingGuidGenerator.hpp"
namespace armnn
{
namespace profiling
{
class ProfilingGuidGenerator : public IProfilingGuidGenerator
{
public:
/// Construct a generator with the default address space static/dynamic partitioning
ProfilingGuidGenerator() {}
/// Return the next random Guid in the sequence
// NOTE: dummy implementation for the moment
inline ProfilingDynamicGuid NextGuid() override { return ProfilingDynamicGuid(0); }
/// Create a ProfilingStaticGuid based on a hash of the string
// NOTE: dummy implementation for the moment
inline ProfilingStaticGuid GenerateStaticId(const std::string& str) override { return ProfilingStaticGuid(0); }
};
} // namespace profiling
} // namespace armnn
|