Skip to content

Commit

Permalink
Next step
Browse files Browse the repository at this point in the history
  • Loading branch information
vgene committed Feb 2, 2024
1 parent 060cc82 commit 8505f85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/backend/consumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ static inline uint64_t rdtsc() {
return (d << 32) | a;
}

// TODO: make it templated, takes in the declaration file and template it out
// either through a python script or a small separate C++ program per module
void consume_loop(ProfilingModule &mod) ATTRIBUTE(noinline) {
uint64_t rdtsc_start = 0;
uint64_t counter = 0;
Expand Down

0 comments on commit 8505f85

Please sign in to comment.