diff options
author | Marc Bonnici <marc.bonnici@arm.com> | 2017-08-03 16:43:32 +0100 |
---|---|---|
committer | Marc Bonnici <marc.bonnici@arm.com> | 2017-08-18 18:02:48 +0100 |
commit | 049b275665e961f8d27c3f54347842e4560f8f68 (patch) | |
tree | d72b963571c995525f85ce2b25dcac87bc32ef51 /devlib/instrument/energy_probe.py | |
parent | 411719d58d14250ef7fd9a992a1b3602b3856c88 (diff) | |
download | devlib-049b275665e961f8d27c3f54347842e4560f8f68.tar.gz |
Instrumentation: Update to store sample rate in MeasurementCSV file.
This commit updates existing instruments to store their sample rates
when creating the respective MeasurementCsv files.
Diffstat (limited to 'devlib/instrument/energy_probe.py')
-rw-r--r-- | devlib/instrument/energy_probe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devlib/instrument/energy_probe.py b/devlib/instrument/energy_probe.py index ed502f5..5f47430 100644 --- a/devlib/instrument/energy_probe.py +++ b/devlib/instrument/energy_probe.py @@ -113,4 +113,4 @@ class EnergyProbeInstrument(Instrument): continue else: not_a_full_row_seen = True - return MeasurementsCsv(outfile, self.active_channels) + return MeasurementsCsv(outfile, self.active_channels, self.sample_rate_hz) |