Replies: 2 comments
-
|
My 2c below
From experience, you want to use MAME for precise measurement. GnGeo's strength is that it's simple to compile and understand, but from an emulation's standpoint, MAME is more accurate, both in term of features and timings. I now exclusively use MAME. There are at least three things I would envision for profiling:
I think that one stems from the fact that depending on how you use C++ it may have hidden runtime costs (e.g. class initialization, virtual function calls, non trivial allocators...). That being said, ngdevkit should support it.
The default newlib allocator is not meant to be fast, just to support the C runtime. So if you plan to do any dynamic allocation, you should definitely rely on a custom allocator. |
Beta Was this translation helpful? Give feedback.
-
|
Here's a short demo of the e9k-debugger, mentioned above. Skip to about two minutes in to see some of the performance measuring it provides: I asked the creator and it should be quite easy to get started with it. At least he managed to do it. I have yet to sit down and test this out. As for C vs C++, I don't think there will be too much difference between the two. Are there some special C++ features you are looking to use? Namespaces are pretty neat to create cleaner enums. And maybe classes might be useful in some instances. I'm sticking with C and might inline ASM if I run into problem which I can't solve otherwise. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a project with ngdevkit and would like some feedback on how to monitor performance
I currently have an FPS meter that stays stable in the gngeo emulator. I don't have a flashcard or the actual hardware to test it on a NeoGeo. Based on your experience, if it works well in Gngeo, does it also work well on actual hardware?
I want to shed some light on a few points and hear everyone’s personal experiences; this might help us
I’ve read that:
What assumptions do you use?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions