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

Commit b7596719 authored by Pracheer's avatar Pracheer
Browse files

performance: Add new perflock resource id

Add sched_migrate_cost and sched_prefer_idle
resource id.

Change-Id: I769baa9a79b3c78578df06826eace964f5870417
parent 136f34aa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -72,6 +72,9 @@ public class Performance
    /** @hide */ public static final int CPUS_ON_LIMIT_2 = 0x8FD;
    /** @hide */ public static final int CPUS_ON_LIMIT_3 = 0x8FC;

    /** @hide */ public static final int SCHED_PREFER_IDLE = 0x3E01;
    /** @hide */ public static final int SCHED_MIGRATE_COST = 0x3F01;

    /* The following are the PerfLock API return values*/
    /** @hide */ public static final int REQUEST_FAILED = -1;
    /** @hide */ public static final int REQUEST_SUCCEEDED = 0;