summaryrefslogtreecommitdiff
path: root/agenda/example_agenda_aep.yaml
blob: 585420ee381cf54ea8f8ae154e96a4924849e166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This is an example agenda which shows a possible (rather large) set of
# workloads and data collection.
#
# This will run 5 iterations each of a large set of workloads, under each of
# PELT and WALT load tracking (it assumes that the target supports both
# mechanisms).

################################################################################
# GLOBAL CONFIGURATIONS
################################################################################
global:
  # Collect energy data, ftrace files, and dmesg
  # You may want to edit your config.yaml to set up the energy_measurement
  # instrument (an example configuration is provided in this repo).
  instrumentation: [energy_measurement, dmesg, trace-cmd]
  trace_events: ['sched_switch', 'irq*', 'cpu_idle', 'cpu_frequency']
  trace_buffer_size: 40000

  # To aid reproducibility and try to reduce noise in power measurements,
  # minimise the screen brightness and set airplane mode on.
  runtime_params:
    brightness: 0
    screen_on: true
    airplane_mode: true
    sysfile_values:
        /dev/stune/foreground/schedtune.boost: 20
        /dev/stune/top-app/schedtune.boost: 20

  energy_measurement:
    instrument: arm_energy_probe
    instrument_parameters:
        config_file: "$WA_EXTENSION_PATHS/config-hikey-01-aep"


################################################################################
# SYSTEM CONFIGURATIONS
################################################################################
sections:
  - id: default      # Just a human-readable name
    classifiers:     # Will be used to map job output to 'tags' when analysing
      tag: dflt

################################################################################
# WORKLOADS CONFIGURATIONS
################################################################################
workloads:
################################################################################
# idle
# Sit on the homescreen for 15 seconds
  - name: idle
    id: idle
    classifiers:
       tag: sit_15s
    workload_parameters:
      duration: 60
  - name: vellamo
    id: vellamo
  - name: homescreen
    id: homescreen
  - name: jankbench
    id: jankbench
  - name: exoplayer
    id: exoplayer
    workload_parameters:
       version: 2.5