EMI_CHANNEL_MEASUREMENT_DATA structure (emi.h)

The EMI_MEASUREMENT_DATA structure provides data about the current energy measurement and the time at which the measurement was taken.

Syntax

typedef struct {
  ULONGLONG AbsoluteEnergy;
  ULONGLONG AbsoluteTime;
} EMI_CHANNEL_MEASUREMENT_DATA;

Members

AbsoluteEnergy

The total accumulated energy in the units specified by the EMI_METADATA struct returned by IOCTL_EMI_GET_METADATA. In EMI_VERSION_V1, the only supported unit is picowatt-hours.

AbsoluteTime

The time at which the energy measurement was taken, in 100 ns intervals.

Remarks

This structure is returned through a successful completion of an IOCTL_EMI_GET_MEASUREMENT IOCTL request.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 10.
Header emi.h (include Emi.h)

See also

Energy Metering Interface

IOCTL_EMI_GET_MEASUREMENT