摘要
CGL(Carrier Grade Linux)是由开源组织(OSDL,Open Source Development Lab)发起的、专门针对电信级服务的Lin-ux。CGL在标准Linux的基础上,增加了一组为适应电信运营环境而设计的特性。某些电信应用对实时性有较高要求,普通Linux在实时性方面和电信平台的要求之间还存在一定的差距。为增强系统的软实时能力,CGL要求提供一种精度在0.1毫秒以上高精度定时器(high-resolution timer)。首先介绍Linux内核2.6.x中时钟与定时器的情况,然后详细阐述这种符合POSIX1003.1b API标准的高精度定时器的设计与实现,最后总结该定时器的性能并得出结论。
CGL(Carrier Grade Linux), which focuses on telecom service, is initialized by open source organization (OSDL,Open Source Development Lab). Based on generic release of Linux, CGL adds a series of features to meet the telecom grade needs. High - resolution timer is an enhancemcnt for generic Linux soft real - time performance whose interfaces conform to the POSIX1003. 1b API. This paper firstly introduces the clock and timer in standard kernel 2.6. x. Secondly describes design and implementation of high - resolution timer. At last summarizes the performance of high - resolution timer and draws a conclusion.
出处
《计算机技术与发展》
2006年第4期73-75,78,共4页
Computer Technology and Development