aboutsummaryrefslogtreecommitdiffstats
path: root/system.h
diff options
context:
space:
mode:
authorreinelt <>2000-04-13 06:09:52 +0000
committerreinelt <>2000-04-13 06:09:52 +0000
commit7a34aa1940680a265c074fe1c4f329eb0669d63c (patch)
treeb454de44fb53b6e72f1252e287ebe700a7c5dbd7 /system.h
parent960aa7ec9ab275c7ebeb4bba96dbbd7b9211c000 (diff)
downloadlcd4linux-7a34aa1940680a265c074fe1c4f329eb0669d63c.tar.gz
[lcd4linux @ 2000-04-13 06:09:52 by reinelt]
added BogoMips() to system.c (not used by now, maybe sometimes we can calibrate our delay loop with this value) added delay loop to HD44780 driver. It seems to be quite fast now. Hopefully no compiler will optimize away the delay loop!
Diffstat (limited to 'system.h')
-rw-r--r--system.h31
1 files changed, 20 insertions, 11 deletions
diff --git a/system.h b/system.h
index 5cb5e0e..1c8dd30 100644
--- a/system.h
+++ b/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.5 2000/03/17 09:21:42 reinelt Exp $
+/* $Id: system.h,v 1.6 2000/04/13 06:09:52 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,14 @@
*
*
* $Log: system.h,v $
+ * Revision 1.6 2000/04/13 06:09:52 reinelt
+ *
+ * added BogoMips() to system.c (not used by now, maybe sometimes we can
+ * calibrate our delay loop with this value)
+ *
+ * added delay loop to HD44780 driver. It seems to be quite fast now. Hopefully
+ * no compiler will optimize away the delay loop!
+ *
* Revision 1.5 2000/03/17 09:21:42 reinelt
*
* various memory statistics added
@@ -43,15 +51,16 @@
#define SENSORS 9
-char *System (void);
-char *Release (void);
-char *Processor (void);
-int Memory (void);
-int Ram (int *total, int *free, int *shared, int *buffered, int *cached);
-int Load (double *load1, double *load2, double *load3);
-int Busy (double *user, double *nice, double *system, double *idle);
-int Disk (int *r, int *w);
-int Net (int *rx, int *tx);
-int Sensor (int index, double *val, double *min, double *max);
+char *System (void);
+char *Release (void);
+char *Processor (void);
+double BogoMips (void);
+int Memory (void);
+int Ram (int *total, int *free, int *shared, int *buffered, int *cached);
+int Load (double *load1, double *load2, double *load3);
+int Busy (double *user, double *nice, double *system, double *idle);
+int Disk (int *r, int *w);
+int Net (int *rx, int *tx);
+int Sensor (int index, double *val, double *min, double *max);
#endif