| @@ -93,7 +93,7 @@ Status HybridModelExecutor::ProfileStepInfo(uint16_t tag_id) { | |||||
| GELOGE(RT_FAILED, "[Call][rtProfilerTraceEx] failed, ret: 0x%X", rt_ret); | GELOGE(RT_FAILED, "[Call][rtProfilerTraceEx] failed, ret: 0x%X", rt_ret); | ||||
| return RT_ERROR_TO_GE_STATUS(rt_ret); | return RT_ERROR_TO_GE_STATUS(rt_ret); | ||||
| } | } | ||||
| GELOGD("Profiling Step Info TraceTask execute async success. index_id = %lu, model_id = %lu, tag_id = %u", | |||||
| GELOGD("Profiling Step Info TraceTask execute async success, index_id = %lu, model_id = %lu, tag_id = %u", | |||||
| index_id, model_id, tag_id); | index_id, model_id, tag_id); | ||||
| mmTimespec timespec = mmGetTickCount(); | mmTimespec timespec = mmGetTickCount(); | ||||
| @@ -311,7 +311,7 @@ rtError_t rtStreamCreateWithFlags(rtStream_t *stream, int32_t priority, uint32_t | |||||
| rtError_t rtFlushCache(uint64_t base, uint32_t len) { return RT_ERROR_NONE; } | rtError_t rtFlushCache(uint64_t base, uint32_t len) { return RT_ERROR_NONE; } | ||||
| rtError_t rtProfilerTrace(uint64_t id, bool notify, uint32_t flags, rtStream_t stream_) { return RT_ERROR_NONE; } | |||||
| rtError_t rtProfilerTrace(uint64_t id, bool notify, uint32_t flags, rtStream_t stream) { return RT_ERROR_NONE; } | |||||
| rtError_t rtProfilerTraceEx(uint64_t id, uint64_t modelId, uint16_t tagId, rtStream_t stream_) { return RT_ERROR_NONE; } | rtError_t rtProfilerTraceEx(uint64_t id, uint64_t modelId, uint16_t tagId, rtStream_t stream_) { return RT_ERROR_NONE; } | ||||
| @@ -269,5 +269,5 @@ TEST_F(UtestGeHybrid, Step_info_profile) { | |||||
| auto root_model = make_shared<GeRootModel>(graph); | auto root_model = make_shared<GeRootModel>(graph); | ||||
| HybridModel model(root_model); | HybridModel model(root_model); | ||||
| HybridModelExecutor executor(&model, 0, nullptr); | HybridModelExecutor executor(&model, 0, nullptr); | ||||
| ASSERT_EQ(executor.ProfileStepInfo(0), SUCCESS): | |||||
| EXPECT_EQ(executor.ProfileStepInfo(0), SUCCESS): | |||||
| } | } | ||||
| @@ -158,7 +158,7 @@ RTS_API rtError_t rtProfilerTrace(uint64_t id, bool notify, uint32_t flags, rtSt | |||||
| * @ingroup profiling_base | * @ingroup profiling_base | ||||
| * @brief ts send keypoint profiler log. | * @brief ts send keypoint profiler log. | ||||
| */ | */ | ||||
| RTS_API rtError_t rtProfilerTraceEx(uint64_t id, uint64_t modelId, uint16_t tagId, rtStream_t stream_); | |||||
| RTS_API rtError_t rtProfilerTraceEx(uint64_t id, uint64_t modelId, uint16_t tagId, rtStream_t stream); | |||||
| /** | /** | ||||
| * @ingroup profiling_base | * @ingroup profiling_base | ||||