[API/CUSE] Get profile data submitted by other process
authorDongju Chae <dongju.chae@samsung.com>
Mon, 19 Jul 2021 07:02:40 +0000 (16:02 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Tue, 20 Jul 2021 08:58:09 +0000 (17:58 +0900)
commita25b1fad08910d364d9c23cd3c986abd49b16ed8
tree1d8cb1005bdbe702cc4a49d43ca057ab274a139e
parent7c11c683fd2d0b0024eb16732df58edb93889e8b
[API/CUSE] Get profile data submitted by other process

This patch allows to obtain profile data of requests submitted
by another processes. It might be useful for some system apps
such as a profiler.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/host/libnpuhost.h
src/core/ne-handler.cc
src/core/ne-handler.h
src/host/ne-host.cc
tests/apptests/meson.build
tests/apptests/tvn_triv2_profile_example.cc [new file with mode: 0644]
utils/trinity_cuse/trinity-cuse-triv2.cc
utils/trinity_cuse/trinity-cuse.cc
utils/trinity_cuse/trinity-cuse.h