首页>
外国专利>
Measuring by the kernel the amount of time a monitored thread spends in a queue in order to monitor scheduler delays in a computing device
Measuring by the kernel the amount of time a monitored thread spends in a queue in order to monitor scheduler delays in a computing device
展开▼
机译:内核测量被监视线程在队列中花费的时间量,以监视计算设备中的调度程序延迟
展开▼
页面导航
摘要
著录项
相似文献
摘要
In general, techniques of this disclosure relate to measuring scheduling performance of monitored threads in an operating system with improved precision. In one example, a method includes inserting, by an operating system kernel, a monitored thread into a queue comprising one or more threads and recording an insertion time that the monitored thread is inserted into the run queue; receiving, by the kernel, an event to remove the monitored thread from the run queue; responsive to receiving the event, determining, by the kernel, an amount of time that the monitored thread is stored on the run queue based on the insertion time and a removal time at which the monitored thread was removed from the run queue; and when the amount of time the monitored thread is stored on the run queue is greater than or equal to a specified threshold, sending a notification to a notification listener.
展开▼