首页>
外国专利>
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.
展开▼