gperf.h
749 Bytes
/*
* Definitions shared among profiler utilities
*/
typedef __psunsigned_t symaddr_t;
typedef struct {
unsigned int start; /* starting address of text */
int numEntrs; /* number of entries in histogram */
unsigned short *histo; /* histogram data */
} gPerfHisto;
extern float Threshold; /* % cutoff for printing results */
extern unsigned int ServerMode; /* app initiates transfer of data */
extern unsigned int PrintCounts;
extern unsigned int PrintRealTime;
extern char *Namelist; /* a.out name */
extern void error(char *);
extern void report(int np, gPerfHisto *gp, int tp, int overflow);
extern int profServerInit(void);
extern int profServer(void);