The following C++ utilities are now incorporated into traditional UNIX® tools and are bundled with the UNIX operating system:
lex—Generates programs used in simple lexical analysis of text
yacc—Generates a C function to parse the input stream according to syntax
prof—Produces an execution profile of modules in a program
gprof—Profiles program runtime performance by procedure
tcov—Profiles program runtime performance by statement
See Program Performance Analysis Tools and associated man pages for further information on these UNIX tools.