aboutsummaryrefslogtreecommitdiff
path: root/profiling/client/src/backends/IBackendProfiling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/client/src/backends/IBackendProfiling.cpp')
-rw-r--r--profiling/client/src/backends/IBackendProfiling.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/profiling/client/src/backends/IBackendProfiling.cpp b/profiling/client/src/backends/IBackendProfiling.cpp
new file mode 100644
index 0000000000..f172be9f51
--- /dev/null
+++ b/profiling/client/src/backends/IBackendProfiling.cpp
@@ -0,0 +1,24 @@
+//
+// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#include "BackendProfiling.hpp"
+
+#include <client/include/backends/IBackendProfiling.hpp>
+
+namespace arm
+{
+
+namespace pipe
+{
+
+std::unique_ptr<IBackendProfiling> IBackendProfiling::CreateBackendProfiling(const ProfilingOptions& options,
+ IProfilingService& profilingService,
+ const std::string& backendId)
+{
+ return std::make_unique<BackendProfiling>(options, profilingService, backendId);
+}
+
+} // namespace pipe
+} // namespace arm