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

350 Commits

Author SHA1 Message Date
557b792c77 Made abi property common between Android and Linux devices
In both cases, the ABI is now obtained by executing "uname -m" on the
device and perfroming a mapping from the returned machine architecture
a known ABI. If no known ABI is found the architecture string itself is
returned.
2015-06-11 17:45:09 +01:00
2ee9b40527 classifiers: usability updates
- add IterationResult-level classifiers that get merged into every
  added metric (saves having to pass the same classifiers to each
  metric added).
- Added a global alias to csv result processor's  use_all_classifiers
  attribute.
2015-06-11 17:45:09 +01:00
32f3dc21e4 Added job_status property to ExecutionContext 2015-06-11 17:45:09 +01:00
b31a9bd61a fixes a minor bug in energy model instrument 2015-06-11 13:09:04 +01:00
67896dfd86 energy_model: adding dhrystone support
- updated energy_model to accept dhrystone as well as sysbench as
  the workload
- added "threads" parameter to sysbench (basically, an alias for
  "num_threads") to be consistent with dhrystone
- added "taskset_mask" parameter to dhrystone to allow pinning
  it to specific cores.
2015-06-11 10:10:36 +01:00
88ba8e3ba7 Fixes result result processing bug in sysbench 2015-06-09 18:25:30 +01:00
771567365d daq instrument: updating default server_port to match daq server. 2015-06-09 15:22:57 +01:00
5fdb94d804 removing old tarball. 2015-06-09 13:17:28 +01:00
026e663155 daqpower: typo fix 2015-06-09 13:14:07 +01:00
4b7af1d2a6 Another update to daqpower
- server will now periodically clean up uncollected files
- fixed not being able to resolve IP address for hostname
  (report "localhost" in that case).
2015-06-09 13:08:50 +01:00
d9cd1d3282 Removing daqpower hack that got accidentally committed 2015-06-09 12:58:13 +01:00
c239322c4d Updated daqpower package
- Now works with earlier versions of the DAQmx driver. This is needed to
  be able to run the server on Linux systems, which support older
  verisions of the driver only.
- DAQ error messages are now properly propaged to the client (PyDAQmx
  uses "mess" rather than "message" attribute to store the message in
  the Exception obejects).
- pylint and pep8 fixes
2015-06-09 11:03:26 +01:00
0c19d75bf4 Adding daqpower package to static checkers. 2015-06-09 11:03:26 +01:00
084de2e58c Adding an illustration for DAQ wiring. 2015-06-09 11:03:26 +01:00
88c304292f comment correction 2015-06-05 13:00:59 +01:00
c40a7fd644 more robust exit_code handling for ssh interface
Background processes may produce output on STDOUT. This could get
captured when obtaining the result of "echo $?" to get previos command's
exit code. So it's not safe to assume that output will always be an int.
Attempt to strip out superflous output before doing the int conversion
and, on failure, log a warning but don't error out.
2015-06-05 12:47:01 +01:00
b976164ee9 Fixing typo in a cpustate parameter name. 2015-06-05 09:05:13 +01:00
d102994214 Merge pull request from zhizhouzh/master
get options in config_example.py reachable
2015-06-04 10:03:04 +01:00
7422a72a7b get options in config_example.py reachable
Some options in config_example.py are not reachable. It makes users
confused. So make the options in the file as gobal_alias.

Signed-off-by: zhizhou.zhang <zhizhou.zhang@spreadtrum.com>
2015-06-04 15:56:52 +08:00
3044d192f9 Merge pull request from vflouris/pull-request
Pull request: second batch of changes for energy_model
2015-06-03 18:12:19 +01:00
afa2b11975 Adds copyright header to energy model instrument 2015-06-03 18:07:40 +01:00
1a604ac2e3 Fixes a bug in energy model instrument 2015-06-03 18:04:51 +01:00
d60034f7d7 Allows running the energy instrument without hotplugging 2015-06-03 18:04:45 +01:00
8980304e56 Adding a note about cpuidle module to cpustates. 2015-06-03 16:33:45 +01:00
02af02f0cb Adding cpustates result processor (and script) 2015-06-03 16:20:48 +01:00
9971041e45 Updating copyrights in scripts. 2015-06-03 16:20:48 +01:00
e9b21e2ef3 Adding a generic trace-cmd paraser. 2015-06-03 16:20:48 +01:00
5cfecf8068 show command: minor fix to parameter rendering
Make sure default of 'False' is reported for boolean values.
2015-06-03 16:20:48 +01:00
bf189dbe6a mino doc tweak. 2015-06-03 16:20:48 +01:00
ecb1a9f1f9 Adding /proc/cmdline to pulled metadata 2015-06-02 15:05:52 +01:00
22b3fe1ac8 Merge pull request from vflouris/pull-request
Pull request: minor fixes for energy model generation and a device interace for Chrome OS test image devices.
2015-06-02 13:07:57 +01:00
953783dc2b Adds the generic_chromeos device. 2015-06-02 13:05:08 +01:00
8f972322a5 Updating documentation for generic device interfaces 2015-06-02 12:58:04 +01:00
1fa93c04d2 fixes a few minor bugs. 2015-06-02 10:53:20 +01:00
ebe6202e22 push/pull commands always raise DeviceError + handle error on pulling a property file.
Previosuly, they raised CalledProcessError/DeviceError based on
implementation. Making it consistent to facillitated handling in calling
code.
2015-06-01 17:25:59 +01:00
b4971d76d6 pull more stuff during run initialization
added more paths to pull by default when device.get_properties is
invoked during run initialization. Also moved the LinuxDevice
implementation into BaseLinuxDevice, so that AndroidDevice tires to pull
the same files (on top of the Android-specific stuff).
2015-06-01 16:41:33 +01:00
ead0be2763 Fixing merge_lists to work for list_or_* types 2015-06-01 16:18:13 +01:00
29aa81a694 Adding a couple of unit tests for some of the more interesting types. 2015-06-01 15:46:14 +01:00
f59da723fb list_or: chaniging how list_or_* functions work and adding a generic list_or
list_or_* functions (e.g. list_or_string) will now always return a list,
however will accept lists or indivitual values. Also added a list_or()
generator function, similar to what already exists for list_of().
2015-06-01 15:31:25 +01:00
a9ab67990a sysbench: updating to work on unrooted Android devices. 2015-06-01 12:21:51 +01:00
adefbb7b2c android devices: updating executable install/uninstall work on unrooted devices 2015-06-01 12:19:54 +01:00
c550657912 Updating contribution guidelines.
Clarifying style guidelines and refering "Writing Extensions" section.
2015-06-01 10:36:21 +01:00
578dfb3d99 telemetry: fixing "test" parameter description. 2015-06-01 10:08:26 +01:00
f49287cf09 Fixes for Emacs
- Do not try to use a pager if it explicitly disabled with PAGER='' in
  the environment.
- If terminal size is identified as (0, 0), fall back to default (80,
  25).
2015-06-01 10:05:23 +01:00
777003ed51 Adding instrument_is_enabled function
As instrumentation can be enabled/disabled for a specfic workload
execution, it is sometimes not enough to verify that an instrument has
been installed for the run; one might need to check whether it is
currently enabled.
2015-05-28 10:13:50 +01:00
a254a44f0e adding abi property to LinuxDevice 2015-05-28 09:08:46 +01:00
506ed57ca6 fix: telemetry: ignore all return codes
Telemetry seems to return random values as return code, so completely
ignore them and don't treat any values as errors.
2015-05-27 17:25:17 +01:00
c31d4ec8a3 ssh: fixing timeout behavior
Since a command would still be running on time out, it would prevent
issuing subsequent commands in the same SSH shell, make it look like
the device has become unresponsive.

If a timeout condition is his, send ^C to kill the current foreground
process and make the shell available for subsequent commands.
2015-05-27 09:13:03 +01:00
9e822c4b18 dvfs: fix active_cpus --> online_cpus rename 2015-05-26 12:30:15 +01:00
260616711f removing unused variable. 2015-05-26 09:29:59 +01:00