期刊文献+

基于Visual C++6.0的Windows应用程序定时器研究 被引量:12

Windows Platform Application Timer Research Based on Visual C++ 6.0
在线阅读 下载PDF
导出
摘要 Visual C++6.0是Window平台下最为流行的编程工具之一。在测控系统中,PC机与各种嵌入式系统之间的接口控制也通常采用VC6.0完成。然而嵌入式系统通常对时序有较高的要求,Windows系统则并非实时操作系统。因此如何在VC6.0中实现各种不同精度的定时功能就成为许多面向嵌入式系统的VC6.0开发关键环节。文中研究和比较了VC6.0平台下各种定时器的用法和性能。根据试验结果,并针对某实际工程需要,采用时间戳计数器实现了一种微秒级定时器。通过测试,该定时器可以实现微秒级高精度定时,与某嵌入式系统平台配合良好,并通过了设备验收,证明了其设计有效性。 Visual C++ 6.0 ( VC 6.0) is one of the most popular development environments for Windows platform. Therefore, most of in- terface control of measurement &control system between embedded system and PC were also developed via VC6.0. However,since high -precision timing is often necessary for embedded system, and Window operation system (OS) isn't real-time OS. How to design timer to meet different embedded system requirement becomes a vital process for VC 6.0 development. In this paper, all kinds of timer design strategies were introduced and presented, following with their comparison. Finally, according to one project demand, based on CPU time stamp counter technique ,a microsecond-level timer was presented. Whole project has been validated ,therefore this times strategy's effect was also proved.
作者 王鹏飞 王鹏
出处 《计算机技术与发展》 2013年第2期44-48,共5页 Computer Technology and Development
基金 中航科学基金(20110181006)
关键词 定时器 精确定时 WINDOWS平台 嵌入式系统 timer precise timing windows platform high precision
  • 相关文献

参考文献16

  • 1Cass E,Kilgard M. Practical and Robust Stenciled Shadow Volumes for Hardware-accelerated Rendering[R].NVIDIA Corporation,2002.
  • 2McGuire M. Efficient Shadow Volume Rendering[M].GPU Gems,2004.137-166.
  • 3McGuire M,Hughes J F,Egan K. Fast,Practical and Robust Shadows[R].Brown Univ,2003.
  • 4Williams L. Casting Curved Shadows on Curved Surfaces[J].Computer Graphics,1987,(03):270-274.
  • 5过洁,徐晓旸,潘金贵.基于阴影图的阴影生成算法研究现状[J].计算机辅助设计与图形学学报,2010,22(4):579-591. 被引量:22
  • 6Stamminger M,Drettakis G. Perspective Shadow Maps[J].{H}ACM TRANSACTIONS ON GRAPHICS,2002,(03):557-562.
  • 7Wimmer M,Scherzer D,Purgathofer W. Light Space Per-spective Shadow Maps[A].2004.143-152.
  • 8Lloyd B,Tuft D,Yoon Sung-Eui. Warping and Parti-tioning for Low Error Shadow Maps[A].2006.215-226.
  • 9Zhang Fan,Sun Hanqiu,Xu Leilei. Parallel-Split Shad-ow Maps for Large-Scale Virtual Environments[A].2006.311-318.
  • 10Zhang Fan,Sun Hanqiu,Xu Leilei. Hardware-acceler-ated Parallel-split Shadow Maps[J].International Journal of Image and Graphics,2008,(02):223-241.

二级参考文献61

  • 1吴恩华,柳有权.基于图形处理器(GPU)的通用计算[J].计算机辅助设计与图形学学报,2004,16(5):601-612. 被引量:228
  • 2赵乃良,陈艳军,潘志庚.基于数据修正的实时阴影反走样算法[J].计算机辅助设计与图形学学报,2006,18(8):1130-1135. 被引量:9
  • 3Akenine-Moller T,Haines E.实时计算机图形学[M].普建涛,译.2版.北京:北京大学出版社,2004.
  • 4[英]Watt A,Policarpo F.沈一帆,等译.3D游戏,实时渲染与软件技术[M].北京:机械工业出版社,2005.
  • 5Crow F C.Shadow algorithms for computer graphics[C]//Computer Graphics Proceedings,Annual Conference Series,ACM SIGGRAPH,San Jose,1977:242-248.
  • 6Williams L.Casting curved shadows on curved surface[C]//Computer Graphics Proceedings,Annual Conference Series,ACM SIGGRAPH,Atlanta,1978:270-274.
  • 7Woo A,Poulin P,Fournier A.A survey of shadow algorithms[J].IEEE Computer Graphics and Applications,1990,10(6):13-32.
  • 8Hasenfratz J M.Lapierre M,Holzschuch N,et al.A survey of real-time soft shadows algorithms[J].Computer Graphics Forum,2003,22(4):753-774.
  • 9Blinn J F,Newell M E.Texture and reflection in computer generated images[J].Communications of the ACM,1976,19(10):542-547.
  • 10Greene N.Environment mapping and other applications of world projections[J].IEEE Computer Graphics and Applications,1986,6(11):21-29.

共引文献21

同被引文献95

引证文献12

二级引证文献35

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部