diff options
author | reinelt <> | 2000-04-13 06:09:52 +0000 |
---|---|---|
committer | reinelt <> | 2000-04-13 06:09:52 +0000 |
commit | 7a34aa1940680a265c074fe1c4f329eb0669d63c (patch) | |
tree | b454de44fb53b6e72f1252e287ebe700a7c5dbd7 /system.h | |
parent | 960aa7ec9ab275c7ebeb4bba96dbbd7b9211c000 (diff) | |
download | lcd4linux-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.h | 31 |
1 files changed, 20 insertions, 11 deletions
@@ -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 |