You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ut_SG560D/UM.9.14/tools/trebuchet
quectel 55794fdde8 QCM6490:Alyssa:upload QCM6490 android12 base code.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7
4 years ago
..
core QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
gradle/wrapper QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
scripts QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
trebuchet QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Android.bp QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
CONTRIBUTING.md QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
LICENSE QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
OWNERS QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
README.md QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
TEST_MAPPING QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
build.gradle QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
gradle.properties QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
gradlew QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
gradlew.bat QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
settings.gradle QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago

README.md

Trebuchet

Trebuchet is a Kotlin library for parsing and analyzing Android trace files generated by the atrace or systrace commands. This is not an officially supported Google product.

Library

The code for the Trebuchet library can be found in the core/ directory.

Bundled Programs

Trebuchet comes bundled with several programs for analyzing one or more trace files.

Startup Analyzer

The Startup Analyzer program takes a trace file, detects any startup events that occurred during the traced time period, and prints information about the events. If Trebuchet is built using the Android build system, there will be a StartupAnalyzerKt program placed into a directory that is a member of the PATH system variable. If you wish to use Gradle, you can use the startup-analyzer.sh script located in the scripts/ directory.

Startup Summarizer

The Startup Summarizer program takes a set of trace files, detects startup events in each file, and computes average and standard deviation for startup stats, broken down by program name, compiler filter, and cache status. If Trebuchet is built using the Android build system, there will be a StartupSummarizerKt program placed into a directory that is a member of the PATH system variable. If you wish to use Gradle, you can use the startup-summarizer.sh script located in the scripts/ directory.

Helper Scripts

The scripts/ directory contains a shell script called run-startup.sh, which will start a trace, launch an activity given a package name and an activity name, transfer the trace file to the host machine, and run the StartupAnalyzer.