wprof

execution profiler (WATCOM)

Syntax:

wprof [sample_file]

Description:

The Profiler takes the information from the sample file created by the sample utility, and displays the results in a simple format that lets you quickly identify the regions that contributed most to the execution time. You can then zoom into each of these regions, from the module level down through to the assembly level, to pinpoint which instructions need the most attention.

By default, sample files have the same name as your executable, with a .smp suffix. If you don't specify a sample file at the command line, the Profiler prompts you for one.

See also:

sample, the Execution Profiler chapter in the Watcom Compiler & Tools User's Guide