基于Gprof的函数调用顺序研究  被引量:4

Research on Sequence of Function Calls Based on Gprof

在线阅读下载全文

作  者:孙晓颖[1] 曾文艺[1] 

机构地区:[1]北京师范大学信息科学与技术学院,北京100875

出  处:《微计算机信息》2010年第36期165-166,共2页Control & Automation

基  金:国家自然科学基金资助项目(10971243)

摘  要:GNU profiler可以在程序运行结束后分析函数的调用关系及调用次数,但是对于函数调用顺序却没有任何记录。基于Gprof的函数调用顺序实现,将对gprof进行改造,用于报告函数调用顺序。GNU profiler (gprof) can be used to report the call graph of a program,but the sequence of the function calls are not recorded and reported. After updating the mcount used by the gprof,the functions calls can be reported in the sequence of occurrence.

关 键 词:GPROF GCC mcount 函数调用顺序 

分 类 号:TP302.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象