1 | /* |
2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
3 | * All rights reserved. |
4 | * |
5 | * This source code is licensed under the BSD-style license found in the |
6 | * LICENSE file in the root directory of this source tree. |
7 | */ |
8 | |
9 | #pragma once |
10 | |
11 | namespace libkineto { |
12 | |
13 | class ClientInterface { |
14 | public: |
15 | virtual ~ClientInterface() {} |
16 | virtual void init() = 0; |
17 | virtual void warmup(bool setupOpInputsCollection) = 0; |
18 | virtual void start() = 0; |
19 | virtual void stop() = 0; |
20 | virtual void set_withstack(bool withStack) = 0; |
21 | }; |
22 | |
23 | } // namespace libkineto |
24 | |