Skip to content

Commit

Permalink
[native] rename task memory reclaim runtime stats
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxmeng committed Mar 22, 2024
1 parent dac8333 commit b3646c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions presto-native-execution/presto_cpp/main/PrestoTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,10 @@ protocol::TaskInfo PrestoTask::updateInfoLocked() {
}

if (taskStats.memoryReclaimCount > 0) {
taskRuntimeStats["memoryReclaimCount"].addValue(
taskRuntimeStats["taskMemoryReclaimCount"].addValue(
taskStats.memoryReclaimCount);
taskRuntimeStats.insert(
{"memoryReclaimWallNanos", fromMillis(taskStats.memoryReclaimMs)});
{"taskMemoryReclaimWallNanos", fromMillis(taskStats.memoryReclaimMs)});
}

taskRuntimeStats["createTime"].addValue(taskStats.executionStartTimeMs);
Expand Down

0 comments on commit b3646c4

Please sign in to comment.