1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-07-03 21:53:30 +01:00
Commit Graph

350 Commits

Author SHA1 Message Date
22d72de969 Fix terminal size discovery in DescriptionListFormatter 2015-06-28 10:35:15 +01:00
b712dddfc0 android device: update android_prompt so that it works even if is not / 2015-06-26 16:25:44 +01:00
d6cebc46ce perf: updating binaries and adding option to force install 2015-06-26 14:19:15 +01:00
85c78e6566 sysfile_getter: fixed Exception when both device and host paths are empty. 2015-06-26 12:14:02 +01:00
fcb6504f1e Adding ID to overall cpustate reports. 2015-06-26 10:24:07 +01:00
b25f7ec4a3 Updated installation docs with warning about potential permission issues. 2015-06-26 10:23:39 +01:00
5401a59da0 Adding support for U-Boot booting in Juno. 2015-06-25 11:32:01 +01:00
00561e0973 Adding support for U-Boot booting in Juno. 2015-06-25 10:59:19 +01:00
642da319d4 linpack-cli: setting run timeout based on array size 2015-06-19 09:47:49 +01:00
a6e9525264 Adding command line version of linpack benchmark. 2015-06-19 09:42:16 +01:00
4d5413ac26 add agenda command: added options for iterations and runtime parameters 2015-06-18 17:38:51 +01:00
ccea63555c Added retries
Failed jobs will now be automatically retired. This is controlled by two
new settings:

retry_on_status - a list of statuses which will be consided failures and
                  result in a retry
max_retries - number of retries before giving up
2015-06-18 16:46:26 +01:00
51c5ef1520 create command: make sure "create agenda" can pick up loacal extensions 2015-06-18 16:18:27 +01:00
c6ede56942 rt-app: added taskset_mask parameter 2015-06-18 15:21:12 +01:00
e0ecc9aaf4 Added an invoke() method to devices.
This allows invoking an executable on the device under controlled
contions (e.g. within a particular directory, or taskset to specific
CPUs)
2015-06-18 15:07:44 +01:00
44c2f18f76 Adding "create agenda" sub-command
It is now possible to generate agendas for a set of extensions with

  wa create agenda ext1 ext2 ext3 -o output.yaml

Confiuration will include all parameters for those extensions with
default values.
2015-06-18 12:50:12 +01:00
53c669f906 streamline: do not instatiate resource getter directly 2015-06-18 12:33:56 +01:00
c076a87098 Added support for YAML configs
Config files (the default one in ~/.workload_automation plus ones
specified with -c) can now be written using YAML syntax as well as
Python.
2015-06-18 11:35:50 +01:00
90c0ed281d Documentation: punctuation error fix 2015-06-18 10:46:29 +01:00
aac69a9c14 Documentation update 2015-06-18 10:39:20 +01:00
08bfef961e run command: adding a command line option to diable instruments
Also, updating help messages for exising arguments to use multiline
strings.
2015-06-18 10:07:48 +01:00
d9f45db71e Implementing dynamic device modules
Dynamic modules may be loaded automatically on device initialization if
the device supports them. Dynamic modules implent probe() method to
determine whether they are supported by a particular deviced.

devcpufreq and cpuidle have been converted into dynamic modules
2015-06-18 09:42:40 +01:00
73d85c2b4e cleaning up initialize()
- standardisded on a single context argument
- removed Device.init() no longer necessary as initilize now
  automatically gets propagated up the hierarchy. Renamed the existing
  use of it to "initilize".
- related pylint cleanup.
2015-06-18 09:30:38 +01:00
55b38556fe cpufreq: splitting out cpufreq stuff into a device module 2015-06-18 09:30:38 +01:00
a71756acda pylint fixes 2015-06-18 09:30:14 +01:00
9470efe410 chromeos_test_image: only set default password if keyfile was not specified 2015-06-18 08:39:02 +01:00
0b29bda206 rt-app: removed ftrace check
trace-cmd seems to work fine with "ftrace: true" in the config, so
removing the check that prevented both from being enabled.
2015-06-17 10:14:08 +01:00
042da24e7d antutu: updating result parsing to handle Android M logcat output
Looks like M formats logcat output with some extra ":"'s which was
screwing up the old parsing logic.
2015-06-17 09:46:11 +01:00
a1e99e5591 Android device: correctly set busybox path 2015-06-16 17:23:22 +01:00
b98b31a427 sysfile_getter: use self.device.busybox rather than just "busybox"
Was breaking when location into which busybox was installed  was not in
PATH.
2015-06-16 17:02:23 +01:00
4eb0d9d750 Reverting to the old way of getting the abi on Android
uname is not available on all Android devices, and we cannot rely on
busybox for establishing the ABI, as we need to get the ABI before we
can depoly the right version of busybox.
2015-06-16 15:15:18 +01:00
4af93d94dd show command: adding supported platforms 2015-06-16 12:56:48 +01:00
e7fae25821 list command: can now filter results by supported platform
Added -p option to the list command. This alows filtering results by
supported platforms, e.g.

	wa list workloads -p linux

Also adding missing supported_platforms attribute to various extensions.
If an extension does not have this attribute, the assumption is that it
is supported by all available platforms.
2015-06-16 12:49:07 +01:00
53de517488 device: set core_clusters from core_names if not explicitly specified
if core_names are specified in the device config but core_clusters are
not, assume that all cores with the same name are on the same cluster.
2015-06-16 12:21:44 +01:00
15e854b8f1 telemetry: fix the doc so they no longer say it must be installed
WA will now fetch it automatically
2015-06-16 11:10:50 +01:00
a85e45c6b0 cpustate: now generates a timeline csv as well as stats 2015-06-16 11:04:25 +01:00
4d3feeba64 list_file_systems: fix for Android M and Linux devices
In previous versions of Android, "mount" returned output in the format
similar to fstab entries, which is what list_file_systems expected. This
fixes it to be able to handle the more traditional "mount" output in the
format

	<device> on <mount point> type <fs type> <options>

as well as continue to parse the Android output correctly.
2015-06-16 08:49:58 +01:00
92ddcbb1e3 Merge pull request from lisatn/master
perf: remove CCIPerfEvent class
2015-06-15 18:49:29 +01:00
7c7a5de988 perf: remove CCIPerfEvent class
Remove the CCIPerfEvent class since it's no longer used
in WA.

Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-06-15 10:34:59 -07:00
cbf7eadc6c sqlite: adding global aliases to params
Adding global aliases to parameters to fix old configs that still used
the deprecated "<ext name>_<param name>" format for specifying parameter
values.
2015-06-15 14:34:57 +01:00
d775be25f7 Removing total_tasks "metric" form rt-app, as reported as a classifier. 2015-06-15 13:07:49 +01:00
8dc4321deb Adding rt-app workload 2015-06-15 12:04:00 +01:00
0d3e6b8386 Fixes missing directories problem in DynamicFrequencyInstrument 2015-06-12 17:53:05 +01:00
7ee44fb0e4 Fix: for the chromeos test image device 2015-06-12 14:39:46 +01:00
ab76aa73f2 cpustate: fixing division by zero
total running time (in parallel stats) is zero when all cores on a
cluster are hotplugged. this caused a division by zero when calculating
percentage.
2015-06-12 13:02:05 +01:00
179baf030e Fixed typo. 2015-06-12 12:43:35 +01:00
2f214da8a2 fix: uname utility is unavailable in Android. It has to be invoked through busybox. 2015-06-11 18:58:34 +01:00
e357a46b62 Documenting the Workload initialize and finalize methods 2015-06-11 18:17:53 +01:00
6c8228a26c Invoking workload finalizers at the end of the run. 2015-06-11 18:04:55 +01:00
b3a0933221 Adding intialize and finalize methods to workloads that will only be invoked once per run
- added initialze and finalize methods to workloads, which were the only
  major extension types that did not have them
- Semanatics for initialize/finalize for *all* Extensions are changed so
  that now they will always run at most once per run. They will not be
  executed twice even if invoke via istances of different subclasses (if
  those subclasses defined their own verions, then their versions will
  be invoked once each, but the base version will only get invoked
  once).
2015-06-11 17:45:09 +01:00