jbush001 / NyuziProcessor

GPGPU microprocessor architecture
Apache License 2.0
1.97k stars 349 forks source link

Move performance counters into control registers #147

Closed jbush001 closed 5 years ago

jbush001 commented 6 years ago

Currently these are exposed as memory mapped registers, but should be control registers.

jbush001 commented 6 years ago

Currently, there is one performance counter module shared by all cores. One impact of this change is that it would probably end up being easier to have a performance counter module per core (since otherwise there would need to be a mechanism to deal with contention when multiple cores try to access performance counter registers). From a programming perspective, I think this is fine (and perhaps preferable).

jbush001 commented 5 years ago

1b47fa5e344b72fcb79159c82990de5df7ba8892