Graphics card | NO battery | Battery | ||||
---|---|---|---|---|---|---|
Small screen (<= 1920x1200) | Medium screen (<= 3440x1440) | Large screen (> 3440x1440) | Small screen (<= 1920x1200) | Medium screen (<= 3440x1440) | Large screen (> 3440x1440) | |
Nvidia | Early beta as of bug 1645412 Shipped 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Shipped 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Shipped 78 Nightly as of bug 1636482 | Shipped 78 Nightly as of bug 1636482 | Shipped 78 Nightly as of bug 1636482 | Shipped 78 Nightly as of bug 1636482 |
AMD | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1648288 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1648288 Qualified 78 Nightly as of bug 1636482 |
Modern Intel (Gen9+) | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 |
Intel | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Early beta as of bug 1645412 Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 | Qualified 78 Nightly as of bug 1636482 |
Graphics card | NO battery | Battery | ||||
---|---|---|---|---|---|---|
Small screen (< 1920x1200) | Medium screen (< 3440x1440) | Large screen (>= 3440x1440) | Small screen (< 1920x1200) | Medium screen (< 3440x1440) | Large screen (>= 3440x1440) | |
Nvidia (Proprietary) | Blocklist | Blocklist | Blocklist | Blocklist | Blocklist | Blocklist |
Nvidia (Mesa 18.2+) | Qualified Nightly as of bug 1563859 | Qualified Nightly as of bug 1563859 | Qualified Nightly as of bug 1563859 | Qualified Nightly as of bug 1563859 | Qualified Nightly as of bug 1563859 | Qualified Nightly as of bug 1563859 |
AMD (Northern Islands and newer, Mesa 18.0+) | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly |
Intel (Mesa 18.0+) | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Blocklist [1] | Early beta as of bug 1653612 Qualified Nightly | Early beta as of bug 1653612 Qualified Nightly | Blocklist [2] |
–framework IntelPowerGadget
in your link command.IntelEnergyLibInitialize
.GetNumMsrs
, GetMsrName
, and GetMsrFunc
. GetNumMsrs
returns the number of sampled MSRs; MSRs are given an ID from 0 to n-1, where n is the number returned by GetNumMsrs
. The MSR ID is used to get data for a specific MSR with functions GetPowerData
, GetMsrName
, and GetMsrFunc
.GetPowerData
for each sampled MSR will provide you with the relevant data from that MSR. An MSR’s function (from GetMsrFunc
) determines the amount and meaning of data returned from GetPowerData
. MSRs with function 0 (frequency) return 1 result, which represents the frequency in megahertz. MSRs with function 1 (power) return 3 results, which represent the average power in watts, cumulative energy in Joules, and cumulative energy in milliwatt-hours. MSRs with function 2 (temperature) return 1 result, which represents the temperature in degrees Celsius. The Intel® Power Gadget API currently supports sampling with the following MSRs: processor frequency, estimated processor power, and package temperature. The currently supported MSR functions are: frequency (0), power (1), temperature (2).GetSysTime
and GetRDTSC
; the time interval between samples is available (in seconds) via GetTimeInterval. Note that you must call ReadSample prior to calling GetPowerData
, GetRDTSC
, and GetTimeInterval
, and that you must call ReadSample twice before calling GetTimeInterval
and before getting power data (as opposed to frequency or temperature data) from GetPowerData
, as they are computed using the difference between two samples.GetIAFrequency
, GetMaxTemperature
, GetTemperature
, and GetTDP
.ReadSample
can be logged to a file. Logging can be enabled at any time by calling StartLog, and subsequently disabled by calling StopLog. Note that the logged data isn’t written until StopLog is called. Both StartLog and StopLog cause an internal call to ReadSample.pSysTime[63:32]
= time in secondspSysTime[31:0]
= time in nanoseconds