Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
S2-group
GitHub Repository: S2-group/android-runner
Path: blob/master/AndroidRunner/Plugins/trepn/README.md
621 views

Trepn Plugin

This plugin collects data via the Trepn profiler, e.g., power consumption, battery temperature, CPUs frequency. The plugin depends on the Trepn Android app being installed on the device.

Configuration

Below an example configuration is found:

"profilers": { "trepn": { "preferences": { "profiling_interval": 100, "battery_power_source_selection": "Direct Power" }, "data_points": ["battery_power", "mem_usage"] } }

preferences Map<string, any> The preferences and configurations set in the Trepn profiler. Defined in a map of <preference_name, preference_value pairs. The available preferences and their default values are listed in preferences.xml. The preference_name refers to the preference substring after the last dot. For instance, the Trepn preference com.quicinc.preferences.general.profiling_interval is mapped in the user JSON configuration file using profiling_interval. Currently, AR does not validate the override values, so make sure they are correct.

Preference nameValid valuesDescription
battery_power_source_selection[Auto-Select, Estimate Power Consumption, Direct Power ]Source used to measure the battery power
profiling_intervalpositive integer higher than 0The rate in ms in which the selected data points are measured

data_points Array The types of data that should be measured defined in an array of string enums. Possible options are listed in data_points.json.

subject_aggregation string TODO: default subject aggregation

experiment_aggregation string TODO: default experiment aggregation