DYNAMIC LIBRARY PROFILING METHOD AND DYNAMIC LIBRARY PROFILING SYSTEM
    1.
    发明申请
    DYNAMIC LIBRARY PROFILING METHOD AND DYNAMIC LIBRARY PROFILING SYSTEM 有权
    动态图书馆配置方法和动态图书馆配置系统

    公开(公告)号:US20140149968A1

    公开(公告)日:2014-05-29

    申请号:US14087667

    申请日:2013-11-22

    Abstract: 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.

    Abstract translation: 动态库分析方法和动态库分析系统,包括在动态库函数的起始地址处写入第一中断点指令,当目标进程执行时记录作为过程执行管理单元(PMU)计数的第一事件计数值 第一中断点指令,将第二中断点指令写入到动态库函数的返回地址,以及通过将所记录的第一事件计数值与所述第一事件计数值进行比较来计算在执行所述动态库函数时在处理器核心中生成的PMU计数 第二事件计数值,其是当目标处理执行第二中断点指令时的处理PMU计数,其中处理PMU计数是在执行目标处理时在处理器核心中生成的PMU计数的累积值。

Patent Agency Ranking