User guide
25 The GAUSS Profiler
GAUSSincludesaprofiler,whichenablesyoutodetermineexactlyhowmuchtime
yourprogramsarespendingoneachlineandineachcalledprocedure,therebyproviding
youwiththeinformationyouneedtoincreasetheefficiencyofyourprograms.The
GAUSSProfiler(gaussprof)andtcollect arebothrunfromacommandprompt
window,notataGAUSSprompt.
25.1 Using the GAUSSProfiler
TherearetwostepstousingtheGAUSSProfiler:collectionandanalysis.
25.1.1 Collection
Tocollectprofilinginformation,youmustrunyourGAUSSprogramintcollect,an
executableshippedwithGAUSSthatisidenticaltotgauss exceptthatitgeneratesa
filecontainingprofilinginformationeachtimeitisrun:
tcollect -b myfile.e
Theoutputdisplayedbytcollect includesthenameoftheoutputfilecontainingthe
profilinginformation.tcollectoutputfileshaveagaussprofprefixanda.gcoextension.
25-1










