一种利用高精度时钟测量中断延迟的方法  

A Method to Measure Interrupt Latency Using High Resolution Timer

在线阅读下载全文

作  者:贺俊[1] 龙翔[1] 王雷[1] 

机构地区:[1]北京航空航天大学计算机学院

出  处:《微计算机信息》2012年第9期51-53,共3页Control & Automation

摘  要:中断延迟是实时操作系统最重要的性能指标之一,其通常指外部设备发出中断请求至操作系统中断服务例程执行第一条指令经过的时间,而中断延迟的精确测量对于定量分析实时操作系统实的时性能具有重要意义。利用MPC8641D双核PowerPC片上系统可编程中断控制器的高精度时钟,实现了核间中断及定时器中断在不同负载条件下的中断延迟精确测量。实验结果表明,不同类型中断的延迟特性具有显著差异,核间中断和定时器中断的最坏情况延迟分别为1060纳秒及2540纳秒,而核间中断延迟和定时器中断延迟受不同类型负载的影响程度也有显著不同。Interrupt latency is one of the most important performance indicators of real-time operating system(RTOS).Interrupt latency is the amount of time that elapses between a device interrupt request and the first instruction of the corresponding interrupt service routine(ISR).Measuring interrupt latency is useful for quantitative analysis of real-time performance of RTOS.The interrupt latency of inter-processor interrupt and timer interrupt under three different types of workloads are measured on a MPC8641D dual core PowerPC system on chip(SOC).Experimental results show that different types of interrupts have different interrupt latency characteristics.The worst-case interrupt latency of inter-processor interrupt and timer interrupt are 1060 nanoseconds and 2540 nanoseconds,respectively.Inter-processor interrupt and timer interrupt also have significantly different responses to different workloads.

关 键 词:实时操作系统 中断延迟 核间中断 定时器中断 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象