Enable -msse4.2, -mavx, -mpopcnt on x86_64 builds This allows the compiler to optimize various memory-access operations, like the ones in TraceProcessor's bit_vector.h. Also add a run-time check that crashes the process in a graceful manner to check that the host CPU actually has the features we are assuming. Bug: 205302474 Change-Id: I65bc93487aea5202c947686de577a74d3261f14e
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.