1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00
workload-automation/wa/instruments
Vincent Guittot 741193c441 daq: fix resistor_values and sample_rate_hz parameters list
resistor_values is an array of float and not int as the shunt resistors
are most of the time lower than 1 Ohm.
With kind=list_of_ints, all resistor values are rounded to 0. Replace it
by list_of_numbers

sample_rate_hz is an int used to get sample period and to compute energy.
Changes its type from str to int

With these 2 fixes, the daq instrument has been successfully tested with
NI DAQ6211

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
2018-04-03 08:36:06 +01:00
..
poller instruments/poller: add ftrace marker support 2018-01-25 10:50:02 +00:00
__init__.py wa: Rename Instrumentation to Instruments 2018-01-15 10:24:03 +00:00
dmesg.py framework: move instruments -> instrument 2018-02-22 08:41:04 +00:00
energy_measurement.py daq: fix resistor_values and sample_rate_hz parameters list 2018-04-03 08:36:06 +01:00
fps.py wa: Rename Instrumentation to Instruments 2018-01-15 10:24:03 +00:00
hwmon.py framework: move instruments -> instrument 2018-02-22 08:41:04 +00:00
misc.py framework: move instruments -> instrument 2018-02-22 08:41:04 +00:00
trace_cmd.py framework: move instruments -> instrument 2018-02-22 08:41:04 +00:00