Home
last modified time | relevance | path

Searched refs:g_recordTaskCounter_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/resourceschedule/ffrt/src/dfx/trace_record/
H A Dffrt_trace_record.cpp43 if (g_recordTaskCounter_[ffrt_normal_task][i].submitCounter <= 0) { in DumpNormalTaskStatisticInfo()
72 if (g_recordTaskCounter_[ffrt_queue_task][i].submitCounter <= 0) { in DumpQueueTaskStatisticInfo()
82 g_recordTaskCounter_[ffrt_queue_task][i].cancelCounter); in DumpQueueTaskStatisticInfo()
102 if (g_recordTaskCounter_[ffrt_uv_task][i].submitCounter <= 0) { in DumpUVTaskStatisticInfo()
112 g_recordTaskCounter_[ffrt_uv_task][i].cancelCounter); in DumpUVTaskStatisticInfo()
139 totalCount += g_recordTaskCounter_[ffrt_uv_task][i].submitCounter; in GetSubmitCount()
163 totalCount += g_recordTaskCounter_[ffrt_uv_task][i].runCounter; in GetRunCount()
164 totalCount += g_recordTaskCounter_[ffrt_queue_task][i].runCounter; in GetRunCount()
175 totalCount += g_recordTaskCounter_[ffrt_uv_task][i].doneCounter; in GetDoneCount()
199 totalCount += g_recordTaskCounter_[ffrt_uv_task][i].doneCounter; in GetFinishCount()
[all …]
H A Dffrt_trace_record.h48 static ffrt_record_task_counter_t g_recordTaskCounter_[TASK_TYPE_NUM][QoS::MaxNum()]; variable
82 g_recordTaskCounter_[taskType][qos].submitCounter.fetch_add(1, std::memory_order_relaxed); in TaskSubmit()
98 g_recordTaskCounter_[taskType][qos].submitCounter.fetch_add(1, std::memory_order_relaxed); in TaskSubmit()
117 g_recordTaskCounter_[taskType][qos].runCounter.fetch_add(1, std::memory_order_relaxed); in TaskExecute()
125 g_recordTaskCounter_[taskType][qos].doneCounter.fetch_add(1, std::memory_order_relaxed); in TaskDone()
152 g_recordTaskCounter_[taskType][qos].enqueueCounter.fetch_add(1, std::memory_order_relaxed); in TaskEnqueue()
160 g_recordTaskCounter_[taskType][qos].cancelCounter.fetch_add(1, std::memory_order_relaxed); in TaskCancel()
167 g_recordTaskCounter_[task->type][qos].runCounter.fetch_add(1, std::memory_order_relaxed); in TaskRun()
174g_recordTaskCounter_[task->type][task->GetQos()].coSwitchCounter.fetch_add(1, std::memory_order_re… in TaskCoSwitchOut()