diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-09-05 16:33:04 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-09-05 19:13:58 -0300 |
commit | 431fe7803d37f344275fdaceb57c1fbaeee8541c (patch) | |
tree | 139b952bfed549f4a56a31d599ab168e303dd70d /tests/gem_mmap.c | |
parent | 4b0a15e45d1823888cfed9a76e54036658ab8e61 (diff) |
intel_gpu_top: initialize monitoring statistics at startup
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>
Diffstat (limited to 'tests/gem_mmap.c')
0 files changed, 0 insertions, 0 deletions