Przemyslaw Czerpak 4ba52ddb70 2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/hbwapi.h
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/hbwin.hbx
    + added to new WIN API wrappers:
         WAPI_QueryPerformanceCounter( @nCounter ) -> <lSuccess>
         WAPI_QueryPerformanceFrequency( @nFrequency ) -> <lSuccess>
      Warning: read in MSDN about above functions and possible
               interactions with multi CPU machines.

  * harbour/contrib/hbwin/win_misc.c
  * harbour/contrib/hbwin/hbwin.hbx
    + added new function which converts QueryPerformance counters
      to seconds:
         WIN_QPCOUNTER2SEC( nCounter ) -> <nSeconds>
      I suggest to use it to convert difference between two calls
      to WAPI_QueryPerformanceCounter(), i.e.:
         WAPI_QueryPerformanceCounter( @nCounterStart )
         [...]
         WAPI_QueryPerformanceCounter( @nCounterEnd )
         ? "total time:", ;
           WIN_QPCOUNTER2SEC( nCounterEnd - nCounterStart ), "sec."
2011-11-17 08:47:11 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%