Browse Source

add tid for profiling data

tags/v1.2.0
zhengyuanhua 3 years ago
parent
commit
f1b457a5f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/load/model_manager/davinci_model.cc

+ 1
- 1
ge/graph/load/model_manager/davinci_model.cc View File

@@ -2292,7 +2292,7 @@ Status DavinciModel::SinkTimeProfile(const InputData &current_data) {
model_time_info[kModelName] = name;
model_time_info[kModeleId] = this->Id();
model_time_info[kRequestId] = current_data.request_id;
model_time_info[kThreadId] = GetDataInputTid();
model_time_info[kThreadId] = mmGetTid();
model_time_info[kInputBeginTime] = time_info_.processBeginTime;
model_time_info[kInputEndTime] = time_info_.processEndTime;
model_time_info[kInferBeginTime] = time_info_.inferenceBeginTime;


Loading…
Cancel
Save