首页> 外国专利> Dynamic library profiling method and dynamic library profiling system

Dynamic library profiling method and dynamic library profiling system

机译:动态库分析方法和动态库分析系统

摘要

A dynamic library profiling method and a dynamic library profiling system including writing a first break point instruction at a start address of a dynamic library function, recording a first event count value that is a process performance management unit (PMU) count when a target process executes the first break point instruction, writing a second break point instruction to a return address of the dynamic library function, and calculating a PMU count generated in a processor core while the dynamic library function is executed, by comparing the recorded first event count value with a second event count value that is a process PMU count when the target process executes the second break point instruction, wherein the process PMU count is a cumulative value of PMU counts generated in the processor core while the target process is executed.
机译:一种动态库概要分析方法和动态库概要分析系统,包括:在动态库函数的起始地址处写入第一断点指令;当目标进程执行时,记录作为处理性能管理单元(PMU)计数的第一事件计数值。第一断点指令,将第二断点指令写入动态库函数的返回地址,并通过将记录的第一事件计数值与记录的第一事件计数值进行比较,计算在执行动态库函数时处理器内核中生成的PMU计数。第二事件计数值是目标进程执行第二断点指令时的进程PMU计数,其中进程PMU计数是在执行目标进程时处理器内核中生成的PMU计数的累积值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号