Skip to content
Commit 57b72eb5 authored by Dietmar Eggemann's avatar Dietmar Eggemann Committed by Ionela Voinescu
Browse files

sched_tp: Add capacity_curr to cpu_capacity trace event

Whereas capacity_orig is the CPU capacity scaled by CPU architecture,
capacity_curr (current capacity) is the CPU capacity scaled by CPU
architecture and current_frequency/max_frequency.

capacity_curr is used to create the PELT clock information for
enqueue/dequeue (sched_switch) out of (not aligned) PELT sched events
in LISA's PELT simulation.
Here, the ftrace time between an enqueue/dequeue and a PELT sched event
has to be rescaled by the time-scaling factor which itself consists of
CPU capacity and current_frequency/max_frequency scaling factor. And
this is done by using a series of capacity_curr values.
parent 53e0e084
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment