commit | 5654079f29219c53fdaeda0787923cc31d242b3f | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Fri Mar 24 18:36:51 2023 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Fri Mar 24 18:41:06 2023 +0000 |
tree | 0bc4e113d37c8e3c68c06918e3a8cfaa086af83f | |
parent | 9edf3c1c7193bc809cf5e330f5231f60886d1039 [diff] |
base: add mechanism to poll futures to completion This CL adds the ability to "spawn" Futures and Streams on a TaskRunner i.e. poll them to completion by interfacing with the FileDescriptorWatch APIs of TaskRunner. Spawning a future returns a handle which, when destroyed, cancels the Future/Stream. This allows propagation of cancellation across thread boundaries. Change-Id: Ie2915acbbbe539d8d5b2d2ffc8c7599160a2bf93
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.