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

Commit ea37fc18 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Revert "Add GPU enabled ADPF to V5 of power hal."

Revert submission 24997733-adpf-gpu-plumbing

Reason for revert: b/311102554

Reverted changes: /q/submissionid:24997733-adpf-gpu-plumbing

Change-Id: Ifd5a0bedbbffb827d81584f418a2e7fd1d5b787f
parent 1890f2d9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -36,7 +36,4 @@ package android.hardware.power;
parcelable WorkDuration {
  long timeStampNanos;
  long durationNanos;
  long workPeriodStartTimestampNanos;
  long cpuDurationNanos;
  long gpuDurationNanos;
}
+1 −23
Original line number Diff line number Diff line
@@ -23,30 +23,8 @@ parcelable WorkDuration {
     * sample was measured.
     */
    long timeStampNanos;

    /**
     * Total work duration in nanoseconds.
     * Work duration in nanoseconds.
     */
    long durationNanos;

    /**
     * Timestamp in nanoseconds based on CLOCK_MONOTONIC when the work starts.
     * The work period start timestamp could be zero if the call is from
     * the legacy SDK/NDK reportActualWorkDuration API.
     */
    long workPeriodStartTimestampNanos;

    /**
     * CPU work duration in nanoseconds.
     * The CPU work duration could be the same as the total work duration if
     * the call is from the legacy SDK/NDK reportActualWorkDuration API.
     */
    long cpuDurationNanos;

    /**
     * GPU work duration in nanoseconds.
     * The GPU work duration could be zero if the call is from the legacy
     * SDK/NDK reportActualWorkDuration API.
     */
    long gpuDurationNanos;
}