home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / Profiler / jviewprf / timer.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-04  |  511 b   |  29 lines

  1. // timer.hpp
  2. //
  3. // Created 01/19/99
  4. //
  5. // (C) Copyright 1995 - 1999 Microsoft Corporation.  All rights reserved.
  6. //
  7.  
  8. #ifndef __TIMER_HPP__
  9. #define __TIMER_HPP__
  10.  
  11.  
  12. BOOL InitTimer ();
  13.  
  14.  
  15. typedef __int64 PROFTIME;
  16. typedef PROFTIME GetProfilerTimeProc ();
  17.  
  18. extern GetProfilerTimeProc *g_pfnGetProfilerTime;
  19.  
  20. #define GetProfilerTime() ((*g_pfnGetProfilerTime)())
  21.  
  22.  
  23. float ConvertProfilerTimeToMS (PROFTIME time);
  24. float ConvertProfilerTimeToUS (PROFTIME time);
  25.  
  26.  
  27. #endif /* __TIMER_HPP__ */
  28.  
  29.