发明名称 Mechanism for profiling computer code
摘要 A set of computer code is profiled by breaking each code segment of the computer code down into basic instructions. Thereafter, the set of computer code is executed. As each code segment is executed, a log is updated to indicate execution of that code segment. This is done for each executed code segment; thus, at the end of execution, the log reflects all of the code segments that were executed, and how many times each code segment was executed. Using the log, and a set of calibration statistics, which specify how much processing time is consumed by each basic instruction, an overall execution cost is derived for each executed code segment. The set of overall execution costs for all of the executed code segments are incorporated into an overall profile for the set of computer code.
申请公布号 US6983455(B2) 申请公布日期 2006.01.03
申请号 US20020120823 申请日期 2002.04.10
申请人 SUN MICROSYSTEMS, INC. 发明人 KUZMIN ALEKSANDR M.
分类号 G06F9/44;G06F11/34 主分类号 G06F9/44
代理机构 代理人
主权项
地址