Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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