-
公开(公告)号:US09959191B2
公开(公告)日:2018-05-01
申请号:US14087667
申请日:2013-11-22
Applicant: Samsung Electronics Co., Ltd.
Inventor: Min-Ju Lee , Bernhard Egger , Jae-jin Lee , Young-Lak Kim , Hong-Gyu Kim , Hong-June Kim
CPC classification number: G06F11/3466 , G06F11/3409 , G06F11/348 , G06F2201/86 , G06F2201/88
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.