home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / memsz331.zip / Source.zip / DEBUG.H < prev    next >
Text File  |  1995-07-24  |  1KB  |  30 lines

  1. /******************************************************************** DEBUG.H
  2.  *                                                                          *
  3.  *  Debugging Aids                                                          *
  4.  *                                                                          *
  5.  ****************************************************************************/
  6.  
  7. #ifndef DEBUG_H
  8. #define DEBUG_H
  9.  
  10. #include <stdlib.h>
  11.  
  12. #include "hrtimer.h"
  13.  
  14. extern HFILE Timer ;
  15. extern BOOL Trace ;
  16.  
  17. extern VOID Debug ( HWND hwnd, char *Message, ... ) ;
  18. extern VOID Log ( char *Message, ... ) ;
  19. extern void DumpMemory ( char *Note, PVOID pMemory, int Count ) ;
  20.  
  21. extern BOOL OpenTimer ( VOID ) ;
  22. extern VOID CloseTimer ( VOID ) ;
  23. extern BOOL GetTime ( PTIMESTAMP pts ) ;
  24. extern ULONG ComputeElapsedTime ( PTIMESTAMP ptsStart, PTIMESTAMP ptsStop, PULONG pulNs ) ;
  25.  
  26. extern PVOID AllocateMemory ( size_t ByteCount ) ;
  27. extern VOID FreeMemory ( PVOID Memory ) ;
  28.  
  29. #endif
  30.