xref: /aosp_15_r20/external/armnn/profiling/client/src/backends/IBackendProfiling.cpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "BackendProfiling.hpp"
7 
8 #include <client/include/backends/IBackendProfiling.hpp>
9 
10 namespace arm
11 {
12 
13 namespace pipe
14 {
15 
CreateBackendProfiling(const ProfilingOptions & options,IProfilingService & profilingService,const std::string & backendId)16 std::unique_ptr<IBackendProfiling> IBackendProfiling::CreateBackendProfiling(const ProfilingOptions& options,
17                                                                              IProfilingService& profilingService,
18                                                                              const std::string& backendId)
19 {
20     return std::make_unique<BackendProfiling>(options, profilingService, backendId);
21 }
22 
23 } // namespace pipe
24 } // namespace arm
25