Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b974edc5 authored by Matt Buckley's avatar Matt Buckley Committed by Android (Google) Code Review
Browse files

Merge "Add CPU/GPU_LOAD_SPIKE hints for one-off expensive workloads" into main

parents 18c6a592 5010ef13
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -42,4 +42,6 @@ enum SessionHint {
  GPU_LOAD_UP = 5,
  GPU_LOAD_DOWN = 6,
  GPU_LOAD_RESET = 7,
  CPU_LOAD_SPIKE = 8,
  GPU_LOAD_SPIKE = 9,
}
+14 −0
Original line number Diff line number Diff line
@@ -72,4 +72,18 @@ enum SessionHint {
     * baseline to prepare for an arbitrary load, and must wake up if inactive.
     */
    GPU_LOAD_RESET = 7,

    /**
     * This hint indicates an upcoming CPU workload that is abnormally large and
     * not representative of the workload. This should be used for rare, one-time
     * operations and should be ignored by any load tracking or session hysteresis.
     */
    CPU_LOAD_SPIKE = 8,

    /**
     * This hint indicates an upcoming GPU workload that is abnormally large and
     * not representative of the workload. This should be used for rare, one-time
     * operations and should be ignored by any load tracking or session hysteresis.
     */
    GPU_LOAD_SPIKE = 9,
}