搜索资源列表
time
- delphi 高精度计时函数调用,比gettickcount要精确-delphi precision timing function call, to be accurate than gettickcount
GetTickCount
- 精确定位Windows里的时间,不仅仅是定位到毫秒级的时间,可能对于精度高的编程才用到。
20050120091918_MySerialPort[2004-01-18-01]
- 从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收
一个串口包装类及演示程序
- 从串口读取数据,有两种方法, 1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。 2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的-read data from the serial port, there are two methods, one
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP_ECHOREPLY 0 struct icmp {
mTimer
- 用VC++编程,比较三种定时器——SetTimer、timeSetEvent、、QueryPerformanceCounter、GetTickCount的在精度上的差别-Using VC++ programming, comparing three types of timers- SetTimer, timeSetEvent,, QueryPerformanceCounter, GetTickCount the difference in accuracy
jiasu
- 加速器 变速齿轮 Delphi 做的PORTTALK驱动开发 运行后整个系统都加速 适合所有游戏-Delphi to do the变速齿轮accelerator-driven development PORTTALK running the system as a whole to speed up the game suitable for all
showtraf-1.7.0-src
- GetTickCount Sleep CreateEvent CloseHandle ResetEvent SetEvent WaitForSingleObject WaitForMultipleObjects AllocConsole GetStdHandle FreeConsole GetLocalTime WriteConsole
pcounter
- GetTickCount无法计算16ms以下的时间,该段代码可以进行毫秒级的精确计时-GetTickCount unable to calculate the following time 16ms, which can code the precise millisecond timing
FuncGetTickCount
- 利用 GetTickCount 計算各種函數進出VB邏輯運算所需的時間,用以決定最好的函數寫法。-GetTickCount function calculated using a variety of logic operations VB out of the time required for the function used to determine the best wording.
bscl
- 变速齿轮原理是,游戏在刷新画面时会用到时钟来控制刷新速度,有过游戏开发的人都知道,一般游戏锁定1秒30帧,这样会很流畅,人眼有视觉停顿,当速度达到1秒16帧的时候,就是在跑动画了,游戏用到的计时器有大部分是两个windows提供的api函数,一个是::GetTickCount,一个是::timeGetTime,这两个api的原型请查msdn,我们利用hook api 去修改它的值,从而改变游戏速度,工程是一个d-Change gear principle is that the game wil
ComTime
- 为了测试函数处理时间,自己写了关于时间度量的类来计算执行命令之间需要花的时间。此类简单易懂,使用和修改方便,带例子。此类比 GetTickCount()函数更精确。使用VC++, VC2010编译通过。希望些类给大家带来便利。 -To test the function of processing time, write your own class on time metric to calculate the execution time to be spent between comm
MultiTimer
- 程序列出所有的计时方法和计时应用,WM_TIMER、Sleep()、利用COleDateTime类和COleDateTimeSpan类、利用GetTickCount()函数、利用 timeGetTime()函数、利用 timeSetEvent()函数和使用QueryPerformanceFrequency()和QueryPerformanceCounter()函数实现高精度定时-Program lists all of the timing method and timing applicati
VB_API_function_based_alarm_clock_timer
- VB中基于GetTickCount API函数的闹钟定时器VB GetTickCount API function based on the alarm clock timer -VB GetTickCount API function based on the alarm clock timer
VB.programming.GetTickCount.anti.debugging.code.ra
- VB编程GetTickCount反调试代码VB programming GetTickCount anti-debugging code -VB programming GetTickCount anti-debugging code
VB.programming.GetTickCount.API.function.instance.
- VB 编程GetTickCount API函数实例经典代码VB Classic programming GetTickCount API function instance code -VB Classic programming GetTickCount API function instance code
VdB215411
- 完美挂机挂源码VB Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Declare Function SelectFunc Lib "call.dll" (ByVal hwnd As Long, ByVal id As Long) As Long Private Declare Function PickFunc Lib "call.dll" (ByVal hw
com-
- Option Explicit Dim vChar() As String Dim outbte() As Byte Dim snum As Integer Dim rnum As Integer Dim p As Integer Dim s As String Dim out(100) As Byte Dim varP As Variant API函数,用于取得Windows系统自启动以来所经过的时间(单位为毫秒) Private Declare Fu
mmTimers
- Windows .net 下各种计时方式 GetTickcount,multimedia timer 高性能定时器 etc. -Windows net under GetTickCount various timing, the Multimedia timer high-performance timer etc..
GetTickCount-
- GetTickCount反调试 vb防调试-GetTickCount anti-debugging vb anti-debugging