Using Win32 functions in Visual FoxPro Image Gallery
Time
..msdn
CompareFileTime
FileTimeToLocalFileTime
FileTimeToSystemTime
GetFileTime
GetLocalTime
GetSystemTime
GetSystemTimeAdjustment
GetSystemTimeAsFileTime
GetTickCount
GetTimeZoneInformation
LocalFileTimeToFileTime
QueryPerformanceCounter
QueryPerformanceFrequency
SetFileTime
SetTimeZoneInformation
SystemTimeToFileTime
Code examples:
Using the high-resolution performance counter
QueryPerformanceFrequency
..msdn    Add comment     W32 Constants      Translate this page
The QueryPerformanceFrequency function retrieves the frequency of the high-resolution performance counter, if one exists. The frequency cannot change while the system is running.
Code examples:
Using the high-resolution performance counter
Declaration:
BOOL QueryPerformanceFrequency(
  LARGE_INTEGER *lpFrequency   // current frequency
);
FoxPro declaration:
DECLARE INTEGER QueryPerformanceFrequency IN kernel32;
    STRING @lpFrequency
Parameters:
lpFrequency
[out] Pointer to a variable that receives the current performance-counter frequency, in counts per second.
Return value:
If the installed hardware supports a high-resolution performance counter, the return value is nonzero.
My comment:
Note that the frequency of the high-resolution performance counter is not the processor speed.
See GetTickCount function.
Word Index links for the QueryPerformanceFrequency :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-24 20:08:45
Modified: 2002-01-24 20:10:33
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.67.122)
14 sec.Function: 'LoadLibrary'
28 sec.Function: 'Shell_NotifyIcon'
43 sec.Function: 'ShellAbout'
58 sec.Function: 'GdipCreateMatrix2'
1.22 min.Function: 'RegisterClipboardFormat'
1.47 min.Function: 'DwmExtendFrameIntoClientArea'
1.7 min.Function: 'RegDeleteValue'
1.93 min.Function: 'CreateDirectory'
2.22 min.Function: 'CoTaskMemFree'
2.52 min.Function: 'LoadString'
Google
Advertise here!