检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李晓京[1] 张利利[1] 胡文东[1] 文治洪[1] 马进[1]
机构地区:[1]第四军医大学 航空航天医学教育部重点实验室,西安710032
出 处:《计算机系统应用》2013年第8期145-150,201,共7页Computer Systems & Applications
基 金:国家自然科学基金青年项目(81202178/H2602);全军医药卫生重大项目(AWS12J003)
摘 要:介绍一种在BCB开发环境基于多线程的高精度定时器类的设计实现.由VCL组件库中的TThread派生类结合Windows消息机制设计了实测误差<0.5ms的定时器类,该类具有单实例-多定时器管理、线程工作状态可控、回调方式可控等优点,宜用性及可定制性均优于普遍采用的系统定时器及多媒体定时器,可在工业控制、多媒体应用设计、实时信号采集与处理等领域得到应用.This paper present a realization of hi-resolution timer class, based on multithread technique, in the BCB IDE. Utilizing of the class, derived from TThread class of VCL and integrated with Windows message mechanism, achieved a general timing-error 〈 0.5ms. The class is provided of advantages such as multiple timers-single object managing, work state of timer-thread adjusting, callback mode controlling, as well as more convenient and more customizable than traditional windows System Timer and Multimedia Timer. Thus it could be applied in projects with relatively time-critical requirement, e.g. industrial control, multimedia app development and realtime signal sampling & processing.
关 键 词:C++ BUILDER IDE Windows 定时器 多线程 线程优先级 WINDOWS消息机制 定时精度 实时性
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249