sdm845-common: power: Use monotonic time for interaction boost
Using the wall clock will cause boosts to be disabled when/if the clock is adjusted backward. Bug: 29191415 Bug: 29208304 Change-Id: I8af5f40b46d996ce7bccb8324fc186e2f3a5b267
This commit is contained in:
parent
9137790aed
commit
842f449872
3 changed files with 23 additions and 11 deletions
|
|
@ -45,3 +45,5 @@ void release_request(int lock_handle);
|
|||
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]);
|
||||
int perf_hint_enable(int hint_id, int duration);
|
||||
int perf_hint_enable_with_type(int hint_id, int duration, int type);
|
||||
|
||||
long long calc_timespan_us(struct timespec start, struct timespec end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue