Add function profiling macro
This commit is contained in:
parent
50cc785998
commit
9c54f6e730
1 changed files with 2 additions and 0 deletions
|
|
@ -20,3 +20,5 @@ namespace psemek::util
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#define profile_function [[maybe_unused]] ::psemek::util::profiler prof ## __LINE__ (__FUNCTION__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue