commit | 093985eb1df49484f148dce0b0dba877136c6e90 | [log] [tgz] |
---|---|---|
author | Etienne Pierre-Doray <etiennep@chromium.org> | Fri Nov 24 12:42:58 2023 -0800 |
committer | Etienne Pierre-Doray <etiennep@chromium.org> | Fri Nov 24 12:42:58 2023 -0800 |
tree | 5da392bdf85ce3a8372d5b8d0fa321cab991aac4 | |
parent | 2ee1fe9e10b545724f6237028142f87bb98073dd [diff] |
Implement GetThreadCPUTimeNs based on QueryThreadCycleTime. Chrome trace events used QueryThreadCycleTime to estimate thread time. Perfetto Client API switched to GetThreadTimes, which has 16ms precision. This CL brings QueryThreadCycleTime to perfetto. Change-Id: I574b7a44bc94420a5a2f38b42ef49ca6b94d297d
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.