IVGCVSW-4156 Remove backend dependency on ProfilingService.hpp

Change-Id: I3b18ede85408bdfbc5147396e183e87bdabd3754
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/include/armnn/IProfilingGuidGenerator.hpp b/include/armnn/IProfilingGuidGenerator.hpp
new file mode 100644
index 0000000..4dcc6cd
--- /dev/null
+++ b/include/armnn/IProfilingGuidGenerator.hpp
@@ -0,0 +1,34 @@
+//
+// Copyright © 2019 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <armnn/Types.hpp>
+
+#include <string>
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class IProfilingGuidGenerator
+{
+public:
+    /// Return the next random Guid in the sequence
+    virtual ProfilingDynamicGuid NextGuid() = 0;
+
+    /// Create a ProfilingStaticGuid based on a hash of the string
+    virtual ProfilingStaticGuid GenerateStaticId(const std::string& str) = 0;
+
+    virtual ~IProfilingGuidGenerator() {}
+
+    static IProfilingGuidGenerator& Instance();
+};
+
+} // namespace profiling
+
+} // namespace armnn