summaryrefslogtreecommitdiff
path: root/agenda/example_agenda_aep.yaml
blob: f9bc405433405a9eff855895e20c025912b63696 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# 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*']
  trace_buffer_size: 60000

  # 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: 15
  - name: vellamo
    id: vellamo
  - name: homescreen
    id: homescreen
    workload_parameters:
      duration: 15
  - name: jankbench
    id: jankbench_list_view
    classifiers:
      tag: iter_30
    workload_parameters:
      test_ids: list_view
  - name: jankbench
    id: jankbench_image_list_view
    classifiers:
      tag: iter_30
    workload_parameters:
      test_ids: image_list_view
  - name: jankbench
    id: jankbench_shadow_grid
    classifiers:
      tag: iter_30
    workload_parameters:
      test_ids: shadow_grid
  - name: jankbench
    id: jankbench_low_hitrate_text
    classifiers:
      tag: iter_30
    workload_parameters:
      test_ids: low_hitrate_text
  - name: jankbench
    id: jankbench_edit_text
    classifiers:
      tag: iter_30
    workload_parameters:
      test_ids: edit_text
  - name: exoplayer
    id: exoplayer_mov720_30s
    classifiers:
       tag: mov_720p_30s
    workload_parameters:
      format: "mov_720p"
      duration: 30
      version: 2.5
  - name: exoplayer
    id: exoplayer_ogg_128kbps_30s
    classifiers:
       tag: ogg_128kbps_30s
    workload_parameters:
      format: "ogg_128kbps"
      duration: 30
      version: 2.5