29 lines · 629 B · Text
RawDownload
.TH PROF 2.SH NAMEprof, _profdump \- profile functions.SH SYNOPSIS.Bvoid	prof(void (*fn)(void*), void *arg, int entries, int what).PP.Bvoid	_profdump(void).SH DESCRIPTION.I Profprofiles a single function and writes the profiling data to a fileon return as specified in.IR prof (1).The function.I _profdumpmay be called to dump profile information before function exit,or when profiling whole program invocations, at any point beforeexit..SH SOURCE.SH "SEE ALSO".IR prof (1)..SH BUGSWhen mixing calls to.IR prof and.I _profdumpandwhole-program profiling, it is easy to overwrite the fixed output file.