You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
2 years ago
..
cpufreq Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
parser Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
Android.bp Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
OWNERS Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 2 years ago

README.md

CarWatchdog's Performance Analysis Tools

Performance Stats Parser

The parser/ directory contains the scripts to parse CarWatchdog daemon's dumps and generate a protobuf binary with the performance stats. The proto format is available in parser/performancestats.proto.

Make the parser

m perf_stats_parser

Generate protobuf binary

To generate the proto binary for the CarWatchdog performance stats, run:

perf_stats_parser -f <file-with-dump>.txt -o ~/perf_stats_out.pb

The proto binary will be saved to ~/perf_stats_out.pb.

Read the protobuf binary

To read the protobuf binary, one could use:

perf_stats_parser -r <proto-file> -D -j

-j flags specify to output in JSON format.