osprey/kg++fe/gnu/config/i386/gmon-sol2.c File Reference

Go to the source code of this file.

Data Types

type  phdr
type  tostruct
type  rawarc

Defines

#define HISTFRACTION   2
#define HISTCOUNTER   unsigned short
#define HASHFRACTION   1
#define ARCDENSITY   2
#define MINARCS   50
#define BASEADDRESS   0x8000000
#define ROUNDDOWN(x, y)   (((x)/(y))*(y))
#define ROUNDUP(x, y)   ((((x)+(y)-1)/(y))*(y))
#define SCALE_1_TO_1   0x10000L
#define MSG   "No space for profiling buffer(s)\n"
#define TOLIMIT   "mcount: tos overflow\n"

Functions/Subroutines

 monstartup (char *lowpc, char *highpc)
 _mcleanup ()
 asm (".globl _mcount; _mcount: jmp internal_mcount")
 asm (".globl mcount; mcount: jmp internal_mcount")
 internal_mcount ()
 moncontrol (int mode)

Variables

static char sccsid [] = "@(#)gmon.c 5.3 (Berkeley) 5/22/91"
static int profiling = 3
static unsigned short * froms
static struct tostructtos = 0
static long tolimit = 0
static char * s_lowpc = 0
static char * s_highpc = 0
static unsigned long s_textsize = 0
static int ssiz
static char * sbuf
static int s_scale
int errno


Define Documentation

#define ARCDENSITY   2

Definition at line 83 of file gmon-sol2.c.

Referenced by monstartup().

#define BASEADDRESS   0x8000000

Definition at line 85 of file gmon-sol2.c.

#define HASHFRACTION   1

Definition at line 82 of file gmon-sol2.c.

Referenced by _mcleanup(), internal_mcount(), monstartup(), and PARAMS().

#define HISTCOUNTER   unsigned short

Definition at line 81 of file gmon-sol2.c.

Referenced by monstartup().

#define HISTFRACTION   2

Definition at line 80 of file gmon-sol2.c.

Referenced by monstartup().

#define MINARCS   50

Definition at line 84 of file gmon-sol2.c.

Referenced by monstartup().

#define MSG   "No space for profiling buffer(s)\n"

Definition at line 125 of file gmon-sol2.c.

Referenced by monstartup().

#define ROUNDDOWN ( x,
 )     (((x)/(y))*(y))

Definition at line 98 of file gmon-sol2.c.

#define ROUNDUP ( x,
 )     ((((x)+(y)-1)/(y))*(y))

Definition at line 99 of file gmon-sol2.c.

#define SCALE_1_TO_1   0x10000L

Definition at line 123 of file gmon-sol2.c.

Referenced by monstartup().

#define TOLIMIT   "mcount: tos overflow\n"

Referenced by internal_mcount(), and PARAMS().


Function Documentation

void _mcleanup ( void   ) 

Definition at line 206 of file gmon-sol2.c.

Referenced by internal_mcount(), and PARAMS().

asm ( ".globl mcount; mcount: jmp internal_mcount"   ) 

asm ( ".globl _mcount; _mcount: jmp internal_mcount"   ) 

void internal_mcount ( void   ) 

Definition at line 252 of file gmon-sol2.c.

static void moncontrol ( int  mode  ) 

Definition at line 390 of file gmon-sol2.c.

Referenced by _mcleanup(), and monstartup().

void monstartup ( char *  lowpc,
char *  highpc 
)

Definition at line 129 of file gmon-sol2.c.

Referenced by internal_mcount(), and PARAMS().


Variable Documentation

int errno

unsigned short* froms [static]

Definition at line 112 of file gmon-sol2.c.

Referenced by _mcleanup(), internal_mcount(), monstartup(), and PARAMS().

int profiling = 3 [static]

Definition at line 111 of file gmon-sol2.c.

Referenced by internal_mcount(), moncontrol(), and PARAMS().

char* s_highpc = 0 [static]

Definition at line 116 of file gmon-sol2.c.

Referenced by monstartup().

char* s_lowpc = 0 [static]

Definition at line 115 of file gmon-sol2.c.

Referenced by _mcleanup(), internal_mcount(), moncontrol(), monstartup(), and PARAMS().

int s_scale [static]

Definition at line 121 of file gmon-sol2.c.

Referenced by moncontrol(), and monstartup().

unsigned long s_textsize = 0 [static]

Definition at line 117 of file gmon-sol2.c.

Referenced by _mcleanup(), internal_mcount(), monstartup(), and PARAMS().

char* sbuf [static]

char sccsid[] = "@(#)gmon.c 5.3 (Berkeley) 5/22/91" [static]

Definition at line 58 of file gmon-sol2.c.

int ssiz [static]

Definition at line 119 of file gmon-sol2.c.

Referenced by _mcleanup(), moncontrol(), and monstartup().

long tolimit = 0 [static]

Definition at line 114 of file gmon-sol2.c.

Referenced by internal_mcount(), monstartup(), and PARAMS().

struct tostruct* tos = 0 [static]

Definition at line 113 of file gmon-sol2.c.


Generated on Wed Apr 8 15:19:52 2009 for Open64 by  doxygen 1.5.6