VirtualBox

Changeset 49263 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Oct 23, 2013 5:00:06 PM (11 years ago)
Author:
vboxsync
Message:

wddm/3d: profiling/logging

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.cpp

    r45132 r49263  
    8585
    8686DWORD g_VBoxVDbgPid = 0;
     87
     88DWORD g_VBoxVDbgFLogRel = 1;
     89# if !defined(VBOXWDDMDISP_DEBUG)
     90DWORD g_VBoxVDbgFLog = 0;
     91# else
     92DWORD g_VBoxVDbgFLog = 1;
     93# endif
     94DWORD g_VBoxVDbgFLogFlow = 0;
     95
    8796#endif
    8897
    8998#ifdef VBOXWDDMDISP_DEBUG
    90 
    91 DWORD g_VBoxVDbgFLogRel = 1;
    92 DWORD g_VBoxVDbgFLog = 1;
    93 DWORD g_VBoxVDbgFLogFlow = 0;
    9499
    95100# ifndef IN_VBOXCRHGSMI
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h

    r45132 r49263  
    4949//#  define VBOXWDDMDISP_DEBUG_TIMER
    5050# endif
    51 
    52 /* log enable flags */
    53 extern DWORD g_VBoxVDbgFLogRel;
    54 extern DWORD g_VBoxVDbgFLog;
    55 extern DWORD g_VBoxVDbgFLogFlow;
    5651
    5752# ifndef IN_VBOXCRHGSMI
     
    9186#endif
    9287
     88#if defined(VBOXWDDMDISP_DEBUG) || defined(VBOX_WDDMDISP_WITH_PROFILE)
     89/* log enable flags */
     90extern DWORD g_VBoxVDbgFLogRel;
     91extern DWORD g_VBoxVDbgFLog;
     92extern DWORD g_VBoxVDbgFLogFlow;
     93#endif
     94
    9395#ifdef VBOXWDDMDISP_DEBUG_VEHANDLER
    9496void vboxVDbgVEHandlerRegister();
     
    116118#endif
    117119
    118 #ifdef VBOXWDDMDISP_DEBUG
     120#if defined(VBOXWDDMDISP_DEBUG) || defined(VBOX_WDDMDISP_WITH_PROFILE)
    119121#define vboxVDbgInternalLog(_p) if (g_VBoxVDbgFLog) { _p }
    120122#define vboxVDbgInternalLogFlow(_p) if (g_VBoxVDbgFLogFlow) { _p }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette