source: trunk/libs/newlib/src/libgloss/i386/cygmon-gmon.h @ 642

Last change on this file since 642 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 535 bytes
RevLine 
[444]1#ifndef GMON_CYGMON_H
2#define GMON_CYGMON_H
3
4struct 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
18struct tostruct
19{
20  char *selfpc;
21  long count;
22  unsigned short link;
23};
24
25struct 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.