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] - Diff between revs 158 and 816

Only display areas with differences | Details | Blame | View Log

Rev 158 Rev 816
#ifndef GMON_CYGMON_H
#ifndef GMON_CYGMON_H
#define GMON_CYGMON_H
#define GMON_CYGMON_H
 
 
struct phdr
struct phdr
{
{
  char    *lpc;
  char    *lpc;
  char    *hpc;
  char    *hpc;
  int     ncnt;
  int     ncnt;
};
};
 
 
 
 
#define HISTFRACTION 2
#define HISTFRACTION 2
#define HISTCOUNTER unsigned short
#define HISTCOUNTER unsigned short
#define HASHFRACTION 1
#define HASHFRACTION 1
#define ARCDENSITY 2
#define ARCDENSITY 2
#define MINARCS 50
#define MINARCS 50
 
 
struct tostruct
struct tostruct
{
{
  char *selfpc;
  char *selfpc;
  long count;
  long count;
  unsigned short link;
  unsigned short link;
};
};
 
 
struct rawarc
struct rawarc
{
{
    unsigned long       raw_frompc;
    unsigned long       raw_frompc;
    unsigned long       raw_selfpc;
    unsigned long       raw_selfpc;
    long                raw_count;
    long                raw_count;
};
};
 
 
#define ROUNDDOWN(x,y)  (((x)/(y))*(y))
#define ROUNDDOWN(x,y)  (((x)/(y))*(y))
#define ROUNDUP(x,y)    ((((x)+(y)-1)/(y))*(y))
#define ROUNDUP(x,y)    ((((x)+(y)-1)/(y))*(y))
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

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