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

Commit ab499a22 authored by Serdar Kocdemir's avatar Serdar Kocdemir
Browse files

Change CLOCK_MONOTONIC to CLOCK_MONOTONIC_RAW for GpuWorkPeriodEvent comments.

Bug: b/233056303
Change-Id: I0c06c7026e8d6323cd1ce154ebd2aeac161190db
parent 8ffb0288
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -153,11 +153,11 @@ typedef struct {
    uint32_t uid;
    uint32_t uid;


    // The start time of the period in nanoseconds. The clock must be
    // The start time of the period in nanoseconds. The clock must be
    // CLOCK_MONOTONIC, as returned by the ktime_get_ns(void) function.
    // CLOCK_MONOTONIC_RAW, as returned by the ktime_get_raw_ns(void) function.
    uint64_t start_time_ns;
    uint64_t start_time_ns;


    // The end time of the period in nanoseconds. The clock must be
    // The end time of the period in nanoseconds. The clock must be
    // CLOCK_MONOTONIC, as returned by the ktime_get_ns(void) function.
    // CLOCK_MONOTONIC_RAW, as returned by the ktime_get_raw_ns(void) function.
    uint64_t end_time_ns;
    uint64_t end_time_ns;


    // The amount of time the GPU was running GPU work for |uid| during the
    // The amount of time the GPU was running GPU work for |uid| during the