Home
last modified time | relevance | path

Searched refs:nltype (Results 1 – 8 of 8) sorted by relevance

/freebsd/usr.bin/gprof/
H A Dgprof.h135 typedef struct nl nltype; typedef
137 EXTERN nltype *nl; /* the whole namelist */
138 EXTERN nltype *npe; /* the virtual end of the namelist */
174 EXTERN nltype *cyclenl; /* cycle header namelist */
249 void addarc(nltype *, nltype *, long);
254 arctype *arclookup(nltype *, nltype *);
260 bool descend(nltype *, arctype **, arctype **);
261 void dfn(nltype *);
262 bool dfn_busy(nltype *);
263 void dfn_findcycle(nltype *);
[all …]
H A Dprintgprof.c45 register nltype *np; in printprof()
46 nltype **sortednlp; in printprof()
55 sortednlp = (nltype **) calloc( nname , sizeof(nltype *) ); in printprof()
56 if ( sortednlp == (nltype **) 0 ) in printprof()
61 qsort( sortednlp , nname , sizeof(nltype *) , timecmp ); in printprof()
73 const nltype **npp1 = (const nltype **)v1; in timecmp()
74 const nltype **npp2 = (const nltype **)v2; in timecmp()
123 flatprofline(register nltype *np) in flatprofline()
190 gprofline(register nltype *np) in gprofline()
215 printgprof(nltype **timesortnlp) in printgprof()
[all …]
H A Darcs.c49 addarc(nltype *parentp, nltype *childp, long count) in addarc()
99 nltype **topsortnlp;
104 const nltype **npp1 = (const nltype **)v1; in topcmp()
105 const nltype **npp2 = (const nltype **)v2; in topcmp()
110 nltype **
113 nltype *parentp, **timesortnlp; in doarcs()
196 topsortnlp = (nltype **) calloc( nname , sizeof(nltype *) ); in doarcs()
197 if ( topsortnlp == (nltype **) 0 ) in doarcs()
202 qsort( topsortnlp , nname , sizeof(nltype *) , topcmp ); in doarcs()
232 timesortnlp = (nltype **) calloc( nname + ncycle , sizeof(nltype *) ); in doarcs()
[all …]
H A Ddfn.c38 nltype *nlentryp;
60 dfn(nltype *parentp) in dfn()
106 dfn_pre_visit(nltype *parentp) in dfn_pre_visit()
128 dfn_numbered(nltype *childp) in dfn_numbered()
138 dfn_busy(nltype *childp) in dfn_busy()
151 dfn_findcycle(nltype *childp) in dfn_findcycle()
154 nltype *cycleheadp; in dfn_findcycle()
155 nltype *tailp; in dfn_findcycle()
259 dfn_self_cycle(nltype *parentp) in dfn_self_cycle()
280 dfn_post_visit(nltype *parentp) in dfn_post_visit()
[all …]
H A Dgprof.c50 nltype **timesortnlp; in main()
154 qsort(nl, nname, sizeof(nltype), valcmp); in main()
308 nltype *parentp; in tally()
309 nltype *childp; in tally()
336 register nltype *nlp; in dumpsum()
377 const nltype *p1 = (const nltype *)v1; in valcmp()
378 const nltype *p2 = (const nltype *)v2; in valcmp()
H A Dlookup.c40 nltype *
86 arclookup(nltype *parentp, nltype *childp) in arclookup()
H A Dkernel.c41 if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL) in kernel_getnfile()
H A Delf.c105 if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL) in elf_getnfile()