diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-12-13 09:57:42 +0100 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2023-12-15 14:08:16 +0100 |
commit | 918cd906a3f3d2b130a5a3c551d795cf43150f1c (patch) | |
tree | 3ee2ae1e10408d039b75500b3b9351c39958fced /applications/message_handler_openamp/inference_runner.hpp | |
parent | 1575e51075da805e6a85796c007f3c6eb5697d1e (diff) | |
download | ethos-u-core-platform-918cd906a3f3d2b130a5a3c551d795cf43150f1c.tar.gz |
Update message_handler_openamp to use NPU profiler
The message_handler_openamp application now uses the NPU profiler to use
a common way to collect profiling data and report it.
Change-Id: Ia2a860c790facc5193aca065636c58e1b5bbef22
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'applications/message_handler_openamp/inference_runner.hpp')
-rw-r--r-- | applications/message_handler_openamp/inference_runner.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/applications/message_handler_openamp/inference_runner.hpp b/applications/message_handler_openamp/inference_runner.hpp index c9461a0..f87aa7a 100644 --- a/applications/message_handler_openamp/inference_runner.hpp +++ b/applications/message_handler_openamp/inference_runner.hpp @@ -1,6 +1,5 @@ /* * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> - * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may @@ -27,6 +26,12 @@ #include <inference_process.hpp> /***************************************************************************** + * JobContext + *****************************************************************************/ + +struct JobContext; + +/***************************************************************************** * InferenceRunner *****************************************************************************/ @@ -45,7 +50,7 @@ private: const uint64_t msgId, const EthosU::ethosu_core_msg_inference_req &request); InferenceProcess::InferenceJob makeInferenceJob(const EthosU::ethosu_core_msg_inference_req &request, - EthosU::ethosu_core_msg_inference_rsp &response); + JobContext &context); MessageHandler::InferenceQueue &inferenceQueue; MessageHandler::ResponseQueue &responseQueue; |