Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaTheFoxgirl committed Oct 17, 2024
1 parent 2e966d8 commit f991ea1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ void main() {
PerformanceAPI_Functions perfApi;
auto module_ = loadAPIFrom("PerformanceAPI.dll", &perfAPI);
// Add instrumentation event
{
perfAPI.beginEvent("My Event", null, PERFORMANCEAPI_DEFAULT_COLOR);
Expand All @@ -25,6 +24,9 @@ void main() {
perfAPI.endEvent();
}
// You can unload the API after you're done using it.
unloadAPI(module_);
}
```

0 comments on commit f991ea1

Please sign in to comment.