commit | 0e63fb5593166391ff181f98fbe4d08d75d1a49e | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Oct 07 18:03:00 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Wed Oct 07 18:03:00 2020 +0000 |
tree | 749d6fc5ce5371739956b6032cb8e1949ec2d2e2 | |
parent | cff73710d47cdbd8242ad1db56a774c9031c3e8d [diff] |
block_suspend: avoid CPU spinloop For verification of blocked suspend or other unit testing, the spinloop is fine. However, making it sleep so that it is more viable to assist with power testing or for any other test where avoiding changes to device performance is important. Bug: N/A Test: run, and ps: root 4179 4168 18720 4724 __se_sys_nanosleep_time32 0 S block_suspend Change-Id: I81545ae7db1c1fad2cb94d00456d1a6773868111