登录
首页 » Windows开发 » 实现了一个在微秒的例子

实现了一个在微秒的例子

于 2022-03-06 发布 文件大小:63.29 kB
0 70
下载积分: 2 下载次数: 1

代码说明:

本实例实现了一中微秒级的精确定时,利用多媒体定时器的基本功能,可以通过两种方法实现精确定时。1)使用timeGetTime()函数,该函数定时精度为ms级,返回从Windows启动开始所经过的时间。2)使用timeSetEvent()函数.-Achieved one of the examples in the microsecond-level precision timing, use the basic functions of multimedia timer can be two ways to achieve precise timing. 1) Use timeGetTime () function, which ms timing accuracy for the class, to return from the Windows start after the beginning of time. 2) the use of timeSetEvent () function.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104042会员总数
  • 18今日下载