Open main menu

CDOT Wiki β

Changes

Algo holics

515 bytes added, 03:07, 22 February 2019
Assignment 1
7 3 8 9 4 1 6 2 5
9 2 5 6 8 7 3 4 1
 
 
<h5>Analysis</h5>
To analyze the flat profile, enter the following command:
gprof -p -b myapp > myapp.flt
 
-p directs the profiler (gprof) to output a flat profile.
-b directs the profiler to omit detailed explanations of the column headings from the output.
 
To analyze the call graph, enter the following command:
 
> gprof -q -b myapp > myapp.clg
-q directs the profiler (gprof) to output a call graph.
-b directs the profiler to omit detailed explanations of the column headings from the output.
=== Assignment 2 ===
=== Assignment 3 ===
85
edits