X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..22ba694c5857e62b5a553b1505dcf2e509177f28:/osfmk/kern/counters.c?ds=sidebyside diff --git a/osfmk/kern/counters.c b/osfmk/kern/counters.c index be7af1bf8..bac65ebd7 100644 --- a/osfmk/kern/counters.c +++ b/osfmk/kern/counters.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2007 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -28,16 +28,6 @@ /* * @OSF_COPYRIGHT@ */ -/* - * Revision 2.3 91/05/14 16:40:19 mrt - * Correcting copyright - * - * Revision 2.2 91/03/16 15:15:51 rpd - * Created. - * [91/03/13 rpd] - * - */ -/* CMU_ENDHIST */ /* * Mach Operating System * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University @@ -76,23 +66,14 @@ * This makes them easier to examine with ddb. */ -mach_counter_t c_thread_invoke_csw = 0; -mach_counter_t c_thread_invoke_hits = 0; -mach_counter_t c_thread_invoke_misses = 0; -mach_counter_t c_thread_invoke_same = 0; -mach_counter_t c_thread_invoke_same_cont = 0; -mach_counter_t c_incoming_interrupts = 0; -mach_counter_t c_syscalls_unix = 0; -mach_counter_t c_syscalls_mach = 0; - #if MACH_COUNTERS mach_counter_t c_action_thread_block = 0; mach_counter_t c_ast_taken_block = 0; -mach_counter_t c_clock_ticks = 0; mach_counter_t c_dev_io_blocks = 0; mach_counter_t c_dev_io_tries = 0; mach_counter_t c_idle_thread_block = 0; mach_counter_t c_idle_thread_handoff = 0; +mach_counter_t c_incoming_interrupts = 0; mach_counter_t c_io_done_thread_block = 0; mach_counter_t c_ipc_mqueue_receive_block_kernel = 0; mach_counter_t c_ipc_mqueue_receive_block_user = 0; @@ -105,6 +86,13 @@ mach_counter_t c_stacks_max = 0; mach_counter_t c_stacks_min = 0; mach_counter_t c_swtch_block = 0; mach_counter_t c_swtch_pri_block = 0; +mach_counter_t c_syscalls_unix = 0; +mach_counter_t c_syscalls_mach = 0; +mach_counter_t c_thread_invoke_csw = 0; +mach_counter_t c_thread_invoke_hits = 0; +mach_counter_t c_thread_invoke_misses = 0; +mach_counter_t c_thread_invoke_same = 0; +mach_counter_t c_thread_invoke_same_cont = 0; mach_counter_t c_thread_switch_block = 0; mach_counter_t c_thread_switch_handoff = 0; mach_counter_t c_vm_fault_page_block_backoff_kernel = 0;