repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libgloss
/
i386
/
cygmon-gmon.h
blob
f35ae332d7f23e164215ada43853dd0613011c75
1
#ifndef GMON_CYGMON_H
2
#define GMON_CYGMON_H
3
4
struct
phdr
5
{
6
char
*
lpc
;
7
char
*
hpc
;
8
int
ncnt
;
9
};
10
11
12
#define HISTFRACTION 2
13
#define HISTCOUNTER unsigned short
14
#define HASHFRACTION 1
15
#define ARCDENSITY 2
16
#define MINARCS 50
17
18
struct
tostruct
19
{
20
char
*
selfpc
;
21
long
count
;
22
unsigned short
link
;
23
};
24
25
struct
rawarc
26
{
27
unsigned long
raw_frompc
;
28
unsigned long
raw_selfpc
;
29
long
raw_count
;
30
};
31
32
#define ROUNDDOWN(x,y) (((x)/(y))*(y))
33
#define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y))
34
35
#endif