forked from mindspore-Ecosystem/mindspore
!2821 fix device queue error when execute profiling
Merge pull request !2821 from yanghaitao/yht_fix_device_queu_profiling
This commit is contained in:
commit
bf699955b1
|
@ -35,7 +35,7 @@ class DeviceQueueTracing : public Tracing {
|
||||||
// @return Status - The error code return
|
// @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);
|
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
|
// Save tracing data to file
|
||||||
// @return Status - The error code return
|
// @return Status - The error code return
|
||||||
|
|
Loading…
Reference in New Issue