[API/Profile] Add profile data path to the profile data struct
authorDongju Chae <dongju.chae@samsung.com>
Tue, 20 Apr 2021 08:11:07 +0000 (17:11 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Wed, 21 Apr 2021 09:58:23 +0000 (18:58 +0900)
commit9f84fb52f19739d9775b09f3688491690ababa56
treef105d5a48853ee8f234134e6d43d10cb2acbe095
parentbf74ddb04bb190e2cc42aabb77fa1e00c8247829
[API/Profile] Add profile data path to the profile data struct

This patch adds profile data path (.rec) to the profile data struct.
Also, the prefix directory can be set using envvar (NE_PREFIX_PROFILE).

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/common/typedef.h
include/host/libnpuhost.h
src/core/ne-handler.cc
src/core/ne-handler.h
src/core/ne-profiler.cc
src/core/npu/NPUdrvAPI.h
src/core/npu/NPUdrvAPI_emul.cc
src/host/ne-host.cc
tests/apptests/tvn_triv2_profile.cc
tests/utils/ne_test_utils.cc
tests/utils/ne_test_utils.h