| commit | f3337aeb229bb23d401c344644077be5949de4f0 | [log] [tgz] |
|---|---|---|
| author | Mikhail Lappo <miklelappo@gmail.com> | Wed Apr 06 08:43:15 2022 +0200 |
| committer | Mikhail Lappo <miklelappo@gmail.com> | Wed Apr 06 08:43:15 2022 +0200 |
| tree | 52f413671cf7a16e94a12a4e331cc19eae0d6d0d | |
| parent | 341b4249f0262485d55003dc533942d0bb5cc0ff [diff] |
MSVC: Fix narrowing conversion error
MSVC15 compiler requires an explicit
coversion from int32_t to uint32_t
TraceTimestamp {
uint32_t clock_id,
uint64_t_value
}
while GetClockId() is enum BuiltinClock : int32_t
Since all values of enum BuiltinClock are >=0 explicit cast should
not bring any additional problems and is done on most of compilers
automatically anyway
Change-Id: Iad034fbe389beb8739ff03aa1751e03d351a8105
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.