Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

FUNCTION xpfGetQueryPerformanceCounter : INTEGER;  
(* wrapper for Widows function: 
   	BOOL WINAPI QueryPerformanceCounter(
    									_Out_ LARGE_INTEGER *lpPerformanceCount
                                        );
*)


FUNCTION xpfGetQueryPerformanceFrequency : INTEGER;  
(* wrapper for Widows function: 
	BOOL WINAPI QueryPerformanceFrequency(
                                          _Out_ LARGE_INTEGER *lpFrequency
                                         );
*)

See Windows documentation for description


FUNCTION xpxGetQueryPerformanceUsed (startTime        : INTEGER;
                                     endTime          : INTEGER;
                                     VAR hours        : INTEGER;
                                     VAR minutes      : INTEGER;
                                     VAR seconds      : INTEGER;
                                     VAR milliseconds : INTEGER;
                                     VAR microseconds : INTEGER)
                                     rstat            : INTEGER;

This functions calculate the time difference between to time stamps returned by the xpfGetQueryPerformanceCounter function.

  • No labels