OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [i386/] [cygmon-gmon.h] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.