Code Monkey home page Code Monkey logo

Comments (4)

zarubaf avatar zarubaf commented on September 16, 2024

@fischeti as you are looking into the performance counters at the moment would you mind also tackling that issue? Thanks!

from snitch.

fischeti avatar fischeti commented on September 16, 2024

Sure 👍

from snitch.

fischeti avatar fischeti commented on September 16, 2024

typedef struct packed {
logic [63:0] aw_stall_cnt, ar_stall_cnt, r_stall_cnt, w_stall_cnt,
buf_w_stall_cnt, buf_r_stall_cnt;
logic [63:0] aw_valid_cnt, aw_ready_cnt, aw_done_cnt, aw_bw;
logic [63:0] ar_valid_cnt, ar_ready_cnt, ar_done_cnt, ar_bw;
logic [63:0] r_valid_cnt, r_ready_cnt, r_done_cnt, r_bw;
logic [63:0] w_valid_cnt, w_ready_cnt, w_done_cnt, w_bw;
logic [63:0] b_valid_cnt, b_ready_cnt, b_done_cnt;
logic [63:0] next_id, completed_id;
logic [63:0] dma_busy_cnt;
} dma_perf_t;

Those are quite a lot of and big counters. I guess the idea is not to synthesize them but connect them to the performance counter in an event-based style, right?

For example as in :

// TCDM Congested
if (reg2hw.perf_counter_enable[i].tcdm_congested.q) begin
perf_counter_d[i] = perf_counter_d[i] + tcdm_events_q.inc_congested;
end

from snitch.

zarubaf avatar zarubaf commented on September 16, 2024

Yes exactly! We didn't have them before but now that have this event selector notion I think we can add them as they shouldn't come with significant overhead.

from snitch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.