aboutsummaryrefslogtreecommitdiffstats
path: root/system.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-13 06:09:52 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-13 06:09:52 +0000
commit6dfd10e9f5aef7c0411aaf0c0de775a3c011e33a (patch)
treeb454de44fb53b6e72f1252e287ebe700a7c5dbd7 /system.h
parent73ffb61bfcbbba0abaeb26912a7408c4e0d143ab (diff)
downloadlcd4linux-6dfd10e9f5aef7c0411aaf0c0de775a3c011e33a.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! git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@44 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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