DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Introduction to debugging and analyzing C and C++ programs

Program analysis

Profilers are tools that analyze the dynamic behavior of your program: how fast and how often the parts of its code are executed. ``Analyzing run-time behavior'' discusses the lprof, prof and fprof profilers. Profilers are tools that analyze the dynamic It includes an overview of the profiling utilities that describes the procedure you must follow to profile a program with any of the following tools:

``Browsing through your code with cscope'' contains a tutorial on the cscope browser. The cscope browser is an interactive program that locates specified elements of code in C, lex, or yacc source files. It lets you search and edit your source files more efficiently than you could with a typical editor.


NOTE: Use the profiling utilities to identify, and cscope to rewrite, inefficient lines of code. Use cscope for any other program-editing task.


Next topic: Other tools
Previous topic: Program debugging

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004