Fix backend name when profiling 33/249233/1
authorInki Dae <inki.dae@samsung.com>
Wed, 9 Dec 2020 06:36:09 +0000 (15:36 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 9 Dec 2020 06:36:09 +0000 (15:36 +0900)
commit2be68ed6578b64929fde25bc45bdc85f79e4ef53
tree2c5508feb67d8523393c02d64ae2f52490a58535
parent9e38a7153a2dffc349cafe7d5992d1cf2e873341
Fix backend name when profiling

This patch corrects a backend name when profiling via MLAPI.

In case of MLAPI backend, there are two cases. One is "ONE",
and other is "TFLITE" in default. So this patch changes actual
backend name by checking backend_type in runtime when logging
the profile data, backend name.

Change-Id: I0126cd6d427aee760df6224b2813b532d584d287
Signed-off-by: Inki Dae <inki.dae@samsung.com>
src/inference_engine_common_impl.cpp