Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added OSSetPerformanceMonitor(). #400

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

dkosmari
Copy link
Contributor

  • Add a declaration for OSSetPerformanceMonitor().
  • Define associated enums flags to use as arguments (derived from the PPC manual).
  • Define inlined functions to read the performance registers.

--HG--
branch : perf-mon
include/coreinit/performancemonitor.h Outdated Show resolved Hide resolved
include/coreinit/performancemonitor.h Outdated Show resolved Hide resolved
include/coreinit/performancemonitor.h Outdated Show resolved Hide resolved
@GaryOderNichts
Copy link
Contributor

Also make sure to add the new header to tests/test_compile_headers_common/test_compile_headers_list.h so CI can pick it up.

Daniel K. O. (dkosmari) added 2 commits September 29, 2024 11:32
--HG--
branch : perf-mon
--HG--
branch : perf-mon
@GaryOderNichts GaryOderNichts merged commit ad730b9 into devkitPro:master Sep 30, 2024
1 check passed
@GaryOderNichts
Copy link
Contributor

Thanks!

@dkosmari dkosmari deleted the performance-monitor branch September 30, 2024 14:30
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