mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacmn: Record queue depth in scheduler history
The scheduler history feature contains logic to capture the queue depth at the time of message insertion, but an oversight means this information is not actually recorded in the scheduler history. Record the captured queue depth in the scheduler history when a message is dequeued for processing. Change-Id: Ia2dd6f641055237b8f9c546077f7b5992c697330 CRs-Fixed: 2332752
This commit is contained in:
parent
ba7a798164
commit
27d564647e
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ static void sched_history_start(struct scheduler_msg *msg)
|
|||
.type_id = msg->type,
|
||||
.queue_start_us = msg->queued_at_us,
|
||||
.queue_duration_us = started_at_us - msg->queued_at_us,
|
||||
.queue_depth = msg->queue_depth,
|
||||
.run_start_us = started_at_us,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue