[Profile] Support layer manipulation in kernel profiling
authorDongju Chae <dongju.chae@samsung.com>
Thu, 25 Mar 2021 06:10:36 +0000 (15:10 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Thu, 25 Mar 2021 10:23:33 +0000 (19:23 +0900)
commit6857ba4a8a7a72f27cd371110199e4bb3976cb3c
treed974b912af4b3cbbd28652585e8decedca55c052
parent6e16d707d6c48b8d6b7d1dfc7b5f75a1ae1700ca
[Profile] Support layer manipulation in kernel profiling

This patch supports layer manipulation in kernel profiling.

Previously, the layer manipulation was supported in emulated
driver API using the mrpsim simulator.

In this patch, I added ModelProfiler class to provide common
interface used in both simulator and kernel driver.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/core/meson.build
src/core/ne-handler.cc
src/core/ne-handler.h
src/core/ne-model.h
src/core/ne-profiler.cc [new file with mode: 0644]
src/core/ne-profiler.h [new file with mode: 0644]
src/core/npu/NPUdrvAPI.h
src/core/npu/NPUdrvAPI_emul.cc
src/core/npu/NPUdrvAPI_triv2.cc