[Emul/Profile] Add PID info. to profile data path
authorDongju Chae <dongju.chae@samsung.com>
Fri, 3 Sep 2021 04:46:04 +0000 (13:46 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Sun, 5 Sep 2021 23:59:36 +0000 (08:59 +0900)
commit937ce069e65838fcb973d5352cd8d434093e9cd2
tree854e3d023b90dd0994179944c982d70abc87e2a3
parentc26b5df4ff477639923e91e2c913444b0d827baa
[Emul/Profile] Add PID info. to profile data path

This patch adds PID info. to profile data path. It will prevent
concurrent accesses to the same file from multiple users.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/core/npu/NPUdrvAPI_emul.cc
src/core/utils/ne-utils.cc
src/core/utils/ne-utils.h