~ubuntu-branches/ubuntu/raring/sysstat/raring

« back to all changes in this revision

Viewing changes to mpstat.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2011-08-28 19:50:36 UTC
  • mfrom: (1.1.22 upstream) (2.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110828195036-5zk8yk5cbeeli0ml
Tags: 10.0.2-1
* New upstream (stable) release.
* debian/control: Set architecture to linux-any (closes: #619949).
* The debconf message has already been ixed in 8.1.8-2, (LP: #342655).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
/* Indicate that option -P has been used */
40
40
#define F_P_OPTION      0x01
 
41
/* Indicate that stats should be displayed on for online CPU ("-P ON") */
 
42
#define F_P_ON          0x02
41
43
 
42
 
#define USE_P_OPTION(m) (((m) & F_P_OPTION) == F_P_OPTION)
 
44
#define USE_P_OPTION(m)         (((m) & F_P_OPTION) == F_P_OPTION)
 
45
#define DISPLAY_ONLINE_CPU(m)   (((m) & F_P_ON) == F_P_ON)
43
46
 
44
47
#define K_SUM   "SUM"
45
48
#define K_CPU   "CPU"
46
49
#define K_SCPU  "SCPU"
 
50
#define K_ON    "ON"
47
51
 
48
52
#define NR_IRQCPU_PREALLOC      3
49
53