home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / mach_debug / mach_debug.defs < prev    next >
Text File  |  1991-05-29  |  2KB  |  100 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * Copyright (c) 1988 Carnegie-Mellon University
  5.  * All rights reserved.  The CMU software License Agreement specifies
  6.  * the terms and conditions for use and redistribution.
  7.  */
  8. /*
  9.  * HISTORY
  10.  * $Log:    mach_debug.defs,v $
  11.  * Revision 2.8  89/05/11  14:41:47  gm0w
  12.  *     Added host_ipc_bucket_info.
  13.  *     [89/05/07  20:12:30  rpd]
  14.  * 
  15.  * Revision 2.7  89/05/06  02:58:21  rpd
  16.  *     Added host_zone_info.
  17.  *     [89/05/06  02:45:24  rpd]
  18.  * 
  19.  * Revision 2.6  89/05/01  18:09:49  rpd
  20.  *     Don't define KERNEL_SERVER here; it's passed in now.
  21.  * 
  22.  * Revision 2.5  89/03/09  20:26:14  rpd
  23.  *     More cleanup.
  24.  * 
  25.  * Revision 2.4  89/02/25  18:43:35  gm0w
  26.  *     Changes for cleanup.
  27.  * 
  28.  * Revision 2.3  89/01/15  16:32:28  rpd
  29.  *     Updated includes for the new mach/ directory.
  30.  *     [89/01/15  15:11:01  rpd]
  31.  * 
  32.  * Revision 2.2  89/01/12  08:00:17  rpd
  33.  *     Created.
  34.  *     [89/01/12  04:20:38  rpd]
  35.  * 
  36.  */
  37. /*
  38.  *    Matchmaker definitions file for Mach kernel debugging interface.
  39.  */
  40.  
  41. #ifdef    KERNEL
  42. #include <mach_ipc_stats.h>
  43. #else
  44. #define MACH_IPC_STATS        1
  45. #endif    KERNEL
  46.  
  47. subsystem mach_debug 3000;
  48.  
  49.  
  50. #include <mach/mach_types.defs>
  51. #include <mach_debug/mach_debug_types.defs>
  52.  
  53. #if    MACH_IPC_STATS
  54. /*
  55.  *    Returns the accumulated Mach IPC statistics.
  56.  */
  57. routine host_ipc_statistics(
  58.         task        : task_t;    /* should be a host port */
  59.     out    statistics    : ipc_statistics_t);
  60.  
  61. /*
  62.  *
  63.  *    Resets the Mach IPC statistics counters.
  64.  */
  65. routine host_ipc_statistics_reset(
  66.         task        : task_t);    /* should be a host port */
  67.  
  68. #else    MACH_IPC_STATS
  69. skip;    /* host_ipc_statistics */
  70. skip;    /* host_ipc_statistics_reset */
  71. #endif    MACH_IPC_STATS
  72.  
  73. skip;    /* host_callout_info */
  74.  
  75. skip;    /* host_callout_statistics */
  76. skip;    /* host_callout_statistics_reset */
  77.  
  78. /*
  79.  *    Returns information about the memory allocation zones.
  80.  */
  81. routine host_zone_info(
  82.         task        : task_t;    /* should be a host port */
  83.     out    names        : zone_name_array_t;
  84.     out    info        : zone_info_array_t);
  85.  
  86. #if    MACH_IPC_STATS
  87. /*
  88.  *    Returns information about the buckets in the IPC hash tables.
  89.  */
  90. routine host_ipc_bucket_info(
  91.         task        : task_t;    /* should be a host port */
  92.     out    TLinfo        : ipc_bucket_info_array_t;
  93.     out    TPinfo        : ipc_bucket_info_array_t);
  94.  
  95. #else    MACH_IPC_STATS
  96. skip;    /* host_ipc_bucket_info */
  97. #endif    MACH_IPC_STATS
  98.  
  99.  
  100.