mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
![]() create a stack class that started the profiler in the constructor and stopped it in the destructor). Sadly, doing that causes gcc to call out to hook up the unwind chain, and this tanks performance quite badly, even when the profiler is off. Since I had already class-ified profiler.c, I decided to keep the old way of doing things but wrap it in the newer classes. So at least it wasn't a complete waste of my time. Search & replace: profiler_mark_start -> g_profiler.start profiler_mark_end -> g_profiler.end |
||
---|---|---|
docs | ||
src | ||
.gitattributes | ||
makefile |