]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/task_ledger.h
874776fab9162fc24b703acc0c5d0c10843e9ce9
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
28 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
32 * Import of OSF Mach kernel (~mburg)
34 * Revision 1.1.8.2 1995/01/06 19:51:54 devrcs
35 * mk6 CR668 - 1.3b26 merge
36 * [1994/10/14 03:43:13 dwm]
38 * Revision 1.1.8.1 1994/09/23 02:42:55 ezf
39 * change marker to not FREE
40 * [1994/09/22 21:43:00 ezf]
42 * Revision 1.1.4.3 1993/09/17 21:35:29 robert
43 * change marker to OSF_FREE_COPYRIGHT
44 * [1993/09/17 21:28:49 robert]
46 * Revision 1.1.4.2 1993/06/04 15:13:57 jeffc
47 * CR9193 - MK5.0 merge.
48 * [1993/05/18 02:38:04 gm]
50 * Revision 3.0.2.2 1993/05/15 15:42:19 jph
51 * Merge MK5.0: change LEDGER_REAL_ITEMS to be LEDGER_N_ITEMS.
52 * [1993/05/15 15:21:21 jph]
54 * Revision 3.0 1992/12/31 22:13:53 ede
55 * Initial revision for OSF/1 R1.3
57 * Revision 1.2 1991/08/15 19:16:53 devrcs
58 * Ledgers: indices for task_ledger exported routines.
59 * [91/07/18 11:04:31 dwm]
65 * Definitions for task ledger line items
67 #define ITEM_THREADS 0 /* number of threads */
68 #define ITEM_TASKS 1 /* number of tasks */
70 #define ITEM_VM 2 /* virtual space (bytes)*/
72 #define LEDGER_N_ITEMS 3 /* Total line items */
74 #define LEDGER_UNLIMITED 0 /* ignored item.maximum */