Skip to content

Comments

Create functions that can be called from anywhere to turn linux_perf on or off#5659

Open
rocallahan wants to merge 1 commit intoYosysHQ:mainfrom
rocallahan:callable-perf-functions
Open

Create functions that can be called from anywhere to turn linux_perf on or off#5659
rocallahan wants to merge 1 commit intoYosysHQ:mainfrom
rocallahan:callable-perf-functions

Conversation

@rocallahan
Copy link
Contributor

It's useful to be able to add linux_perf_on() and linux_perf_off() calls anywhere to profile a particular section of code.

I haven't put the function declarations in a header file, but it's trivial to paste the necessary declarations where they're needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants