diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-11-07 23:23:24 -0200 |
---|---|---|
committer | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-11-09 11:49:47 -0200 |
commit | dd91fff22d8697ac35874c597c5b7a551f22f5f2 (patch) | |
tree | 5dffa26755ded9e4cb427289dc9dbc23ca158907 | |
parent | c3fb4014b8957bd60ff13c7744a28eddbc85ce15 (diff) |
intel_gpu_analyze: Use proper chipset power variable
It was changed in intel_gpu_top but not here.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
-rwxr-xr-x | tools/intel_gpu_analyze.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/intel_gpu_analyze.py b/tools/intel_gpu_analyze.py index 9697bee..7cfbe69 100755 --- a/tools/intel_gpu_analyze.py +++ b/tools/intel_gpu_analyze.py @@ -306,7 +306,7 @@ def analyse(results, title, out_dir, perf_logfile=None, summary="index.html"): ax = pylab.subplot(111) ax.plot(results['power'], label="Power") - ax.plot(results['power.chip'], label="Chipset") + ax.plot(results['power.chipset'], label="Chipset") ax.plot(results['power.gfx'], label="GFX") ax.set_position([box.x0, box.y0 + box.height * 0.1, box.width, box.height * 0.9]) ax.legend(loc = 'upper center', ncol=3, fancybox=True, shadow=True, bbox_to_anchor = (0.5, -0.1)) @@ -359,7 +359,7 @@ def analyse(results, title, out_dir, perf_logfile=None, summary="index.html"): # plotting power ax2 = ax.twinx() ax2.plot(results['time'], results["power"], label="Power (W)", color='red') - ax2.plot(results['time'], results['power.chip'], label="Chipset (W)", color='g') + ax2.plot(results['time'], results['power.chipset'], label="Chipset (W)", color='g') ax2.plot(results['time'], results['power.gfx'], label="GFX (W)", color='m') ax2.set_ylabel('Watts') num_axis += 1 @@ -391,7 +391,7 @@ def analyse(results, title, out_dir, perf_logfile=None, summary="index.html"): # plotting power ax2 = ax.twinx() ax2.plot(results['time'], results["power"], label="Power (W)", color='red') - ax2.plot(results['time'], results['power.chip'], label="Chipset", color='g') + ax2.plot(results['time'], results['power.chipset'], label="Chipset", color='g') ax2.plot(results['time'], results['power.gfx'], label="GFX", color='m') ax2.set_ylabel('Watts') |