From e43471ac2d2f3a6e8498f29d880a9ca1be068883 Mon Sep 17 00:00:00 2001 From: yanghaitao Date: Thu, 2 Jul 2020 17:53:24 +0800 Subject: [PATCH] fix device queue profiling bug --- mindspore/ccsrc/dataset/engine/perf/device_queue_tracing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/dataset/engine/perf/device_queue_tracing.h b/mindspore/ccsrc/dataset/engine/perf/device_queue_tracing.h index f7c6da3a0..13ef7121c 100644 --- a/mindspore/ccsrc/dataset/engine/perf/device_queue_tracing.h +++ b/mindspore/ccsrc/dataset/engine/perf/device_queue_tracing.h @@ -35,7 +35,7 @@ class DeviceQueueTracing : public Tracing { // @return Status - The error code return Status Record(const int32_t type, const int32_t extra_info, const int32_t batch_num, const int32_t value); - std::string Name() const override { return "Device Queue Tracing"; }; + std::string Name() const override { return kDeviceQueueTracingName; }; // Save tracing data to file // @return Status - The error code return -- GitLab