commit | 800bd5c9f3197399e33928bc1d14ba5b6ad4a503 | [log] [tgz] |
---|---|---|
author | Markus Metzger <markus.t.metzger@intel.com> | Mon Sep 26 11:50:59 2016 +0200 |
committer | Markus Metzger <markus.t.metzger@intel.com> | Tue Sep 27 11:48:26 2016 +0200 |
tree | db323e4ee04b817bab7b0ce0cd0c3a1b4bf9791f | |
parent | 1da9d265a7cd6819044cc224d361fbce9d8aa1b8 [diff] |
ptxed: fix --stat without --quiet When printing a block, ptxed modifies the block's ninsn field in order to get error diagnostics right. When --stat is used without --quiet, it alway reports zero instructions. Fix it by updating the statistics before printing a block, so we count the original number of instructions. Change-Id: I9c728edd8b103a667cf8b42471c6ead4c863ba0f Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>