mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix debug mode build, fix some profile stuff to not get compiled when profiling is off, cleaned a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@941 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -48,6 +48,7 @@ void DVProfClear(); // clears all the profilers
|
||||
#endif
|
||||
|
||||
#define DVSTARTPROFILE() DVProfileFunc _pf(__PRETTY_FUNCTION__);
|
||||
#define DVSTARTSUBPROFILE(name) DVProfileFunc _pf(name);
|
||||
|
||||
class DVProfileFunc
|
||||
{
|
||||
@ -61,6 +62,7 @@ public:
|
||||
#else
|
||||
|
||||
#define DVSTARTPROFILE()
|
||||
#define DVSTARTSUBPROFILE(name)
|
||||
|
||||
class DVProfileFunc
|
||||
{
|
||||
|
Reference in New Issue
Block a user