From 16fae8d2a4ac99b88108debd6f0757b787f03e39 Mon Sep 17 00:00:00 2001 From: caifubi Date: Wed, 6 May 2020 15:31:06 +0800 Subject: [PATCH] transmit jobid to profiling --- mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc b/mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc index c3f622ffee..89225c91d9 100644 --- a/mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc +++ b/mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc @@ -131,6 +131,10 @@ bool ProfilingManager::StartupProfiling(uint32_t device_id) { // current one docker only use one device` Json p_device; + // JOBID + auto job_id = GetJobId(); + p_device["jobID"] = std::to_string(job_id); + // device_id p_device["deviceID"] = std::to_string(device_id);