Add function profiling macro

This commit is contained in:
Nikita Lisitsa 2020-12-05 12:38:30 +03:00
parent 50cc785998
commit 9c54f6e730

View file

@ -20,3 +20,5 @@ namespace psemek::util
};
}
#define profile_function [[maybe_unused]] ::psemek::util::profiler prof ## __LINE__ (__FUNCTION__)