首页 | 官方网站   微博 | 高级检索  
     

基于进程切换的任务性能测试内核插桩研究
引用本文:王辉,王毅刚,李明.基于进程切换的任务性能测试内核插桩研究[J].计算机与数字工程,2011,39(2):190-193.
作者姓名:王辉  王毅刚  李明
作者单位:军械工程学院维修工程研究所,石家庄,050003
摘    要:嵌入式软件测试中,代码覆盖率测试和内存检测通过给程序源代码插桩,在程序动态运行的过程中搜集测试数据;但是这种插桩无法获取进程每次运行的时间。基于进程切换的内核taskhook插桩,是通过对Linux2.6操作系统内核进行分析,建立了进程监控的插桩点选取,获取进程生命周期中的时间相关的指标,最终实现程序的任务性能测试。

关 键 词:任务  进程  操作系统  插桩  内核

Study of Kernel Instrumentation Based on Process Switch in Program Performance Testing
Wang Hui,Wang Yigang,Li Ming.Study of Kernel Instrumentation Based on Process Switch in Program Performance Testing[J].Computer and Digital Engineering,2011,39(2):190-193.
Authors:Wang Hui  Wang Yigang  Li Ming
Affiliation:Wang Hui Wang Yigang Li Ming(Dept.of Equipment Command & Equipment Management Engineering,Ordnance Engineering College,Shijiazhuang 050003)
Abstract:In the software testing,source code instrumentation can be used test code coverage and memory detect,and then collecting testing data during the program dynamic running,but the way can not used to getting process run time.The kernel task hook instrumentation based on process switch,which is though analyze the kernel of Linux 2.6 then establish instrumentation point for process scout,for achieving timing relevant index of process during it's life periods,then implement task performance testing for program.
Keywords:task  process  operating system  instrumentation  kernel  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号