[Profile] Allow multiple calls to get profile data
authorDongju Chae <dongju.chae@samsung.com>
Tue, 10 Aug 2021 04:32:34 +0000 (13:32 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Wed, 11 Aug 2021 08:28:29 +0000 (17:28 +0900)
commit64d45fdf5b7232870af5f9bd668bb153224a3fe3
tree382e5bbbba6ef05a1ca6580c1aaca001a94c7b6f
parent807bd84742b810abfdc906f904c3baf4353ef90e
[Profile] Allow multiple calls to get profile data

This patch revises profiling codes to allow multiple calls
to get profile data.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/host/libnpuhost.h
src/core/ne-host-input-service.cc
src/core/ne-profiler.cc
src/core/npu/NPUdrvAPI_emul.cc
tests/unittests/ne_libnpuhost_test.cc