首页> 外国专利> Method and System for Tracing Profiling Information Using Per Thread Metric Variables with Reused Kernel Threads

Method and System for Tracing Profiling Information Using Per Thread Metric Variables with Reused Kernel Threads

机译:使用具有重用内核线程的按线程度量变量跟踪分析信息的方法和系统

摘要

A method and system for tracing profiling information using per thread metric variables with reused kernel threads is disclosed. In one embodiment kernel thread level metrics are stored by the operating system kernel. A profiler request metric information for the operating system kernel in response to an event. After the kernel thread level metrics are read by the operating system for a profiler, their values are reset to zero by the operating system kernel. The profiler then applies the metric values to base metric values to appropriate Java threads that are stored in nodes in a tree structure base on the type of event and whether or not the kernel thread has been reused. In another embodiment non-zero values of thread level metrics are entered on a liked list. In response to a request from a profiler, the operating system kernel reads each kernel thread's entry in the linked list and zeros each entry. The profiler can then update the intermediate full tree snapshots of profiling information with the collection of non-zero metric variables.
机译:公开了一种用于使用每个线程的度量变量和重用的内核线程来跟踪性能分析信息的方法和系统。在一实施例中,内核线程级别度量由操作系统内核存储。响应事件,事件探查器请求操作系统内核的度量标准信息。操作系统为探查器读取内核线程级别度量后,操作系统内核将其值重置为零。然后,事件探查器根据事件的类型以及是否已重用内核线程,将度量值的基础度量值应用于存储在树结构中的节点中的适当Java线程。在另一个实施例中,线程级别度量的非零值被输入到喜欢的列表上。响应于探查器的请求,操作系统内核读取链表中每个内核线程的条目,并将每个条目归零。然后,探查器可以使用非零度量变量的集合来更新概要分析信息的中间全树快照。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号