mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
4b2c7310b7
commit
4d169987c2
9 changed files with 30 additions and 40 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue