Last change
on this file since 672 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
535 bytes
|
Line | |
---|
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 |
---|
Note: See
TracBrowser
for help on using the repository browser.