OSDN Git Service

eusty-gd: Add timerfd-based timing abstractions
authorZach Johnson <zachoverflow@google.com>
Wed, 18 Nov 2020 17:18:53 +0000 (09:18 -0800)
committerZach Johnson <zachoverflow@google.com>
Tue, 24 Nov 2020 00:43:01 +0000 (16:43 -0800)
commit54cd38ce4c049897bf79b0bb37167e0ca93e1727
tree44e479c955fa9f464a80174ca607615c881cdf9f
parentf12daccd61ad5b8ff0eb8bd3503341f36a31ec6f
eusty-gd: Add timerfd-based timing abstractions

Meant to feel similar to tokio's timing abstractions, but can wake the
system

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: If35e7bfc75a2a15bbd5dc940c0ba03fcdb2b6d4a
gd/rust/common/Android.bp [new file with mode: 0644]
gd/rust/common/src/asserts.rs [new file with mode: 0644]
gd/rust/common/src/lib.rs [new file with mode: 0644]
gd/rust/common/src/ready.rs [new file with mode: 0644]
gd/rust/common/src/time.rs [new file with mode: 0644]