mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-06-28 09:37:38 -04:00
minor update
This commit is contained in:
parent
36f5dd87fe
commit
51e621cdf1
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ extern int vx_dump_perf(vx_device_h hdevice, FILE* stream) {
|
||||||
uint64_t scrb_wctl_per_core = get_csr_64(staging_buf.data(), VX_CSR_MPM_SCRB_WCTL);
|
uint64_t scrb_wctl_per_core = get_csr_64(staging_buf.data(), VX_CSR_MPM_SCRB_WCTL);
|
||||||
uint64_t scrb_csrs_per_core = get_csr_64(staging_buf.data(), VX_CSR_MPM_SCRB_CSRS);
|
uint64_t scrb_csrs_per_core = get_csr_64(staging_buf.data(), VX_CSR_MPM_SCRB_CSRS);
|
||||||
if (num_cores > 1) {
|
if (num_cores > 1) {
|
||||||
uint64_t sfu_total = scrb_wctl_per_core + scrb_csrs_per_core + scrb_tex_per_core + scrb_raster_per_core + scrb_om_per_core;
|
uint64_t sfu_total = scrb_wctl_per_core + scrb_csrs_per_core;
|
||||||
fprintf(stream, "PERF: core%d: sfu stalls=%ld (scrs=%d%%, wctl=%d%%)\n"
|
fprintf(stream, "PERF: core%d: sfu stalls=%ld (scrs=%d%%, wctl=%d%%)\n"
|
||||||
, core_id
|
, core_id
|
||||||
, scrb_sfu_per_core
|
, scrb_sfu_per_core
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue