commit | 9782f497983a1d2853d46118eb91eba86b993e47 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Fri Jan 10 18:13:13 2020 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Fri Jan 10 18:13:13 2020 +0000 |
tree | 12aea5a041eef046e7ca2f972b86a1735e9b8393 | |
parent | a2970bdcff5328a92aebf5acba269f3b66eaac1a [diff] |
[Reland] perfetto: merge TaskRunnerThread and base::ThreadTaskRunner This CL folds the functionality of TaskRunnerThread into ThreadTaskRunner. Both classes performed essentially the same job. As ThreadTaskRunner is in base and also has a fix for a subtle initialization race, we keep that implementation. We just port the GetThreadCPUTimeNs function which we need for some benchmark code. We also remove the complex delegate system and replace instead with wrapper classes of ThreadTaskRunner which each initalize the appropriate producer/service correctly. The orignal CL broke CTS build - this patch also changes the jni dep to be an autogenerated cc file instead of relying on manually updating the Android.bp.extras Change-Id: Ia34d7b4a50822692d1c0123455ddd432357507d7
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.