summaryrefslogtreecommitdiffstats
path: root/libgloss/i386/cygmon-gmon.h
diff options
context:
space:
mode:
authorRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
committerRanjith Kumaran <ranjith@cygnus.com>2000-03-17 22:48:54 +0000
commit03261851a10dd2d6900a0a00a7515a0a46fb5d76 (patch)
tree7c22ac6cbbc99fd5cd1b5426853be8d4fd7bfcf1 /libgloss/i386/cygmon-gmon.h
parentfae4c299f14fc23e2829c8656992eba21f79242a (diff)
downloadcygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz
cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2
cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip
20000317 sourceware import
Diffstat (limited to 'libgloss/i386/cygmon-gmon.h')
-rw-r--r--libgloss/i386/cygmon-gmon.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libgloss/i386/cygmon-gmon.h b/libgloss/i386/cygmon-gmon.h
new file mode 100644
index 000000000..f35ae332d
--- /dev/null
+++ b/libgloss/i386/cygmon-gmon.h
@@ -0,0 +1,35 @@
+#ifndef GMON_CYGMON_H
+#define GMON_CYGMON_H
+
+struct phdr
+{
+ char *lpc;
+ char *hpc;
+ int ncnt;
+};
+
+
+#define HISTFRACTION 2
+#define HISTCOUNTER unsigned short
+#define HASHFRACTION 1
+#define ARCDENSITY 2
+#define MINARCS 50
+
+struct tostruct
+{
+ char *selfpc;
+ long count;
+ unsigned short link;
+};
+
+struct rawarc
+{
+ unsigned long raw_frompc;
+ unsigned long raw_selfpc;
+ long raw_count;
+};
+
+#define ROUNDDOWN(x,y) (((x)/(y))*(y))
+#define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y))
+
+#endif