)]}'
{
  "commit": "889facbee3e67dbc8eb29d8ee7fd66d33a647bfc",
  "tree": "7172c1cd11f4d0d02801fdb7fb08477f4c643220",
  "parents": [
    "ddac0d6872b15fc5311d44021b8898ec6720bdec"
  ],
  "author": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Thu Nov 08 00:48:57 2012 -0500"
  },
  "committer": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Fri Nov 30 01:09:44 2012 -0500"
  },
  "message": "tools/power turbostat: v3.0: monitor Watts and Temperature\n\nShow power in Watts and temperature in Celsius\nwhen hardware support is present.\n\nIntel\u0027s Sandy Bridge and Ivy Bridge processor generations support RAPL\n(Run-Time-Average-Power-Limiting).  Per the Intel SDM\n(Intel® 64 and IA-32 Architectures Software Developer Manual)\nRAPL provides hardware energy counters and power control MSRs\n(Model Specific Registers).  RAPL MSRs are designed primarily\nas a method to implement power capping.  However, they are useful\nfor monitoring system power whether or not power capping is used.\n\nIn addition, Turbostat now shows temperature from DTS\n(Digital Thermal Sensor) and PTM (Package Thermal Monitor) hardware,\nif present.\n\nAs before, turbostat reads MSRs, and never writes MSRs.\n\nNew columns are present in turbostat output:\n\nThe Pkg_W column shows Watts for each package (socket) in the system.\nOn multi-socket systems, the system summary on the 1st row shows the sum\nfor all sockets together.\n\nThe Cor_W column shows Watts due to processors cores.\nNote that Core_W is included in Pkg_W.\n\nThe optional GFX_W column shows Watts due to the graphics \"un-core\".\nNote that GFX_W is included in Pkg_W.\n\nThe optional RAM_W column on server processors shows Watts due to DRAM DIMMS.\nAs DRAM DIMMs are outside the processor package, RAM_W is not included in Pkg_W.\n\nThe optional PKG_% and RAM_% columns on server processors shows the % of time\nin the measurement interval that RAPL power limiting is in effect on the\npackage and on DRAM.\n\nNote that the RAPL energy counters have some limitations.\n\nFirst, hardware updates the counters about once every milli-second.\nThis is fine for typical turbostat measurement intervals \u003e 1 sec.\nHowever, when turbostat is used to measure events that approach\n1ms, the counters are less useful.\n\nSecond, the 32-bit energy counters are subject to wrapping.\nFor example, a counter incrementing 15 micro-Joule units\non a 130 Watt TDP server processor could (in theory)\nroll over in about 9 minutes.  Turbostat detects and handles\nup to 1 counter overflow per measurement interval.\nBut when the measurement interval exceeds the guaranteed\ncounter range, we can\u0027t detect if more than 1 overflow occured.\nSo in this case turbostat indicates that the results are\nin question by replacing the fractional part of the Watts\nin the output with \"**\":\n\nPkg_W  Cor_W GFX_W\n  3**    0**   0**\n\nThird, the RAPL counters are energy (Joule) counters -- they sum up\nweighted events in the package to estimate energy consumed.  They are\nnot analong power (Watt) meters.  In practice, they tend to under-count\nbecause they don\u0027t cover every possible use of energy in the package.\nThe accuracy of the RAPL counters will vary between product generations,\nand between SKU\u0027s in the same product generation, and with temperature.\n\nturbostat\u0027s -v (verbose) option now displays more power and thermal configuration\ninformation -- as shown on the turbostat.8 manual page.\nFor example, it now displays the Package and DRAM Thermal Design Power (TDP):\n\ncpu0: MSR_PKG_POWER_INFO: 0x2f064001980410 (130 W TDP, RAPL 51 - 200 W, 0.045898 sec.)\ncpu0: MSR_DRAM_POWER_INFO,: 0x28025800780118 (35 W TDP, RAPL 15 - 75 W, 0.039062 sec.)\ncpu8: MSR_PKG_POWER_INFO: 0x2f064001980410 (130 W TDP, RAPL 51 - 200 W, 0.045898 sec.)\ncpu8: MSR_DRAM_POWER_INFO,: 0x28025800780118 (35 W TDP, RAPL 15 - 75 W, 0.039062 sec.)\n\nSigned-off-by: Len Brown \u003clen.brown@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4d0690cccf9e888a2e920bcb783d17958b81470",
      "old_mode": 33188,
      "old_path": "tools/power/x86/turbostat/turbostat.8",
      "new_id": "0d7dc2cfefb57ebe1db21daa5e8ce84cba12a91f",
      "new_mode": 33188,
      "new_path": "tools/power/x86/turbostat/turbostat.8"
    },
    {
      "type": "modify",
      "old_id": "cb031472bedebb953ebad91639a1d0ba31fe12db",
      "old_mode": 33188,
      "old_path": "tools/power/x86/turbostat/turbostat.c",
      "new_id": "ce6d46038f742d0b4fbc2d226abfbfe2401b00eb",
      "new_mode": 33188,
      "new_path": "tools/power/x86/turbostat/turbostat.c"
    }
  ]
}
