Skip to content

emscope should output JSON #11

@gcohler

Description

@gcohler
  • output in JSON format -- with SI units wherever possible -- e.g. watts not uWatts
  • include more in the JSON -- so that the output stands on its own. See example below.
  • avoid abbreviations that are hard to understand
  • use real hardware part numbers and software part numbers -- so that we know exactly what was tested in case new versions come out.

example:

{
    "timestamp": 1755509250,
    "measurement_device": "Joulescope JS220",
    "unit_under_test": {
        "manufacturer": "Texas Instruments",
        "board_tested": "LP-EM-CC2340R5",
        "software_tested": "zephyr v10.0",
        "voltage_supplied": 3.3
    },
    "average_sleep_watts":   0.000001941,
    "event_rate_hertz": 1,
    "joules_per_representative_event": 0.000030980,
    "joules_per_cycle": 0.000030921,
    "joules_per_day": 2.844,
    "EMeralds": 28.13
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions