summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChenjie Yu <cjyu@google.com>2018-10-12 15:30:42 -0700
committerChenjie Yu <cjyu@google.com>2018-10-15 15:47:17 -0700
commitdd7dc4f7ded8d4898ebd887dc52e8caf690f1768 (patch)
tree95a125863a469e4c249b1f4af175faf4106e7852 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd51095555f945d2faa5e516e2c6cc653097c7586 (diff)
local test drive tool for statsd
example usage: $./out/host/linux-x86/bin/statsd_testdrive 10009 Uploading the following config to statsd: id: 56789 gauge_metric { id: 2222 what: 1234567 gauge_fields_filter { include_all: true } bucket: ONE_MINUTE } atom_matcher { id: 1234567 simple_atom_matcher { atom_id: 10009 } } allowed_log_source: "AID_GRAPHICS" allowed_log_source: "AID_INCIDENTD" allowed_log_source: "AID_STATSD" allowed_log_source: "AID_RADIO" allowed_log_source: "com.android.systemui" allowed_log_source: "com.android.vending" allowed_log_source: "AID_SYSTEM" allowed_log_source: "AID_ROOT" allowed_log_source: "AID_BLUETOOTH" hash_strings_in_metric_report: false Success! Success! Now wait for 2 minutes ... Success! Got following metric data: metric_id: 2222 gauge_metrics { data { bucket_info { atom { cpu_time_per_uid { uid: 0 user_time_millis: 581844000 sys_time_millis: 135242354000 } } elapsed_timestamp_nanos: 610841423012521 start_bucket_elapsed_millis: 610841423 end_bucket_elapsed_millis: 610880290 } bucket_info { atom { cpu_time_per_uid { uid: 0 user_time_millis: 581904000 sys_time_millis: 135251114000 } } elapsed_timestamp_nanos: 610880295723373 bucket_num: 65 } bucket_info { atom { cpu_time_per_uid { uid: 0 user_time_millis: 581944000 sys_time_millis: 135264674000 } } elapsed_timestamp_nanos: 610940293803881 start_bucket_elapsed_millis: 610940290 end_bucket_elapsed_millis: 610961579 } } } time_base_elapsed_nano_seconds: 606980290711787 bucket_size_nano_seconds: 60000000000 Success! Test: manual test Change-Id: I8ea5249807cf3cf6971e3bbc8696ff33025ba8d7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions