home *** CD-ROM | disk | FTP | other *** search
/ NEXT Generation 27 / NEXT27.iso / pc / demos / emperor / dx3.exe / SDK / SAMPLES / MEMTIME / MEMTIME.H < prev    next >
C/C++ Source or Header  |  1996-08-28  |  881b  |  36 lines

  1. /* Menu Items */
  2. #define MENU_ABOUT       2
  3. #define MENU_EXIT        4
  4. #define MENU_OPEN        5
  5. #define MENU_COPY        6
  6. #define MENU_PASTE       7
  7. #define MENU_CUT         8
  8. #define MENU_TIMEALL 9
  9. #define MENU_REALTIME 10
  10.  
  11. #define MENU_TIME       50
  12.  
  13.  
  14. /****************************************************************************
  15. ****************************************************************************/
  16. struct _timing_result;
  17.  
  18. typedef DWORD MemFunc(PVOID pSource, PVOID pDest, DWORD Heigh, DWORD Width, DWORD Pitch, DWORD Count);
  19.  
  20. typedef struct _timing_result
  21. {
  22.         DWORD Time;
  23.         MemFunc *pTimer;
  24.         char const *pDescription;
  25.         DWORD Iterations;
  26. } TIMING_RESULT, *PTIMING_RESULT;
  27.  
  28.  
  29.  
  30. #ifdef DEBUG
  31.     extern void FAR CDECL dprintf(LPSTR szFormat, ...);
  32.     #define DPF dprintf
  33. #else
  34.     #define DPF ; / ## /
  35. #endif
  36.