mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
Print total instructions in addition to total steps.
This commit is contained in:
parent
8e51332932
commit
2c7566468c
1 changed files with 6 additions and 1 deletions
|
@ -77,7 +77,12 @@ bool Core::running() const {
|
|||
}
|
||||
|
||||
void Core::printStats() const {
|
||||
cout << "Steps: " << steps << endl;
|
||||
unsigned long insts = 0;
|
||||
for (unsigned i = 0; i < w.size(); ++i)
|
||||
insts += w[i].insts;
|
||||
|
||||
cout << "Total steps: " << steps << endl;
|
||||
cout << "Total insts: " << insts << endl;
|
||||
|
||||
for (unsigned i = 0; i < w.size(); ++i) {
|
||||
cout << "=== Warp " << i << " ===" << endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue