generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extended version of
puffin::profile_scope!()
(#213)
# Checklist * [X] I have read the [Contributor Guide](../CONTRIBUTING.md) * [X] I have read and agree to the [Code of Conduct](../CODE_OF_CONDUCT.md) * [X] I have added a description of my changes and why I'd like them included in the section below # Description of Changes Add extended version of `puffin::profile_scope!()` that expands to an expression instead of variable - This allows for profiling scopes to persist for custom scopes, instead of being limited to block scopes - Includes doctests and real-world example # Related Issues As per request from @chrisduerr in #194
- Loading branch information
Showing
1 changed file
with
57 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters