This patch initializes the last_stats[] for registers prior to starting
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Mon, 5 Sep 2011 22:35:44 +0000 (19:35 -0300)
committerEugeni Dodonov <eugeni.dodonov@intel.com>
Mon, 5 Sep 2011 22:35:44 +0000 (19:35 -0300)
commit83047e9a5e7563bb7dd7085de5f27b55d3c2f16e
tree3e1e1d3ea4afefdea565d222790def8ae3b4074a
parentf11f8d9aac77051a071b215910832b020d959858
This patch initializes the last_stats[] for registers prior to starting
the monitoring itself. This way, the first measure will already contain
the difference from the previous value instead of non-initialized value.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
tools/intel_gpu_top.c