home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / src / m-alliant4.h < prev    next >
C/C++ Source or Header  |  1988-08-26  |  616b  |  21 lines

  1. /* m-file for Alliant Concentrix 4.0 or later.
  2.    Use m-alliant.h for versions 2 and 3.  */
  3.  
  4. #include "m-alliant.h"
  5.  
  6. /* Concentrix uses a different kernel symbol for load average. */
  7.  
  8. #undef  LDAV_SYMBOL        /* Undo definition in s-bsd4-2.h */
  9. #define LDAV_SYMBOL "_Loadavg"
  10.  
  11. /* Data type of load average, as read out of kmem.  */
  12.  
  13. #define LOAD_AVE_TYPE long
  14.  
  15. /* Convert that into an integer that is 100 for a load average of 1.0  */
  16.  
  17. #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE)
  18.  
  19. /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also
  20.    LOADAVG_SIZE, the number of items in the Loadavg array. */
  21.