mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-05 01:10:03 +01:00
Instrumentation: Fix conversion between microseconds and seconds
This commit is contained in:
parent
4d95656e49
commit
2de2b36387
@ -75,12 +75,12 @@ _measurement_types = [
|
||||
MeasurementType('unknown', None),
|
||||
MeasurementType('time', 'seconds',
|
||||
conversions={
|
||||
'time_us': lambda x: x * 1000,
|
||||
'time_us': lambda x: x * 1000000,
|
||||
}
|
||||
),
|
||||
MeasurementType('time_us', 'microseconds',
|
||||
conversions={
|
||||
'time': lambda x: x / 1000,
|
||||
'time': lambda x: x / 1000000,
|
||||
}
|
||||
),
|
||||
MeasurementType('temperature', 'degrees'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user