counters.h revision e94d561018bd5f9e7a92dea86468500774b2d8ff
0N/A/** $Id$ */
0N/A/** @file
0N/A * Counters definitions and declarations
0N/A */
0N/A
0N/A/*
0N/A * Copyright (C) 2007 Sun Microsystems, Inc.
0N/A *
0N/A * This file is part of VirtualBox Open Source Edition (OSE), as
0N/A * available from http://www.virtualbox.org. This file is free software;
0N/A * you can redistribute it and/or modify it under the terms of the GNU
0N/A * General Public License (GPL) as published by the Free Software
0N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
0N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
0N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
0N/A *
0N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
0N/A * Clara, CA 95054 USA or visit http://www.sun.com if you need
0N/A * additional information or have any questions.
0N/A */
0N/A#ifndef PROFILE_COUNTER
0N/A# error PROFILE_COUNTER not defied
0N/A#endif
0N/A#ifndef COUNTING_COUTER
0N/A#error COUNTING_COUTER
0N/A#endif
0N/A
0N/APROFILE_COUNTER(Fill, "Profiling slirp fills")
0N/APROFILE_COUNTER(Poll, "Profiling slirp polls")
0N/APROFILE_COUNTER(FastTimer, "Profiling slirp fast timer")
0N/APROFILE_COUNTER(SlowTimer, "Profiling slirp slow timer")
0N/APROFILE_COUNTER(IOwrite, "Profiling IO sowrite")
0N/APROFILE_COUNTER(IOread, "Profiling IO soread")
0N/A
0N/ACOUNTING_COUTER(TCP, "TCP sockets")
0N/ACOUNTING_COUTER(TCPHot, "TCP sockets active")
0N/ACOUNTING_COUTER(UDP, "UDP sockets")
0N/ACOUNTING_COUTER(UDPHot, "UDP sockets active")
0N/A
0N/ACOUNTING_COUTER(IORead_in_1, "SB IORead_in_1")
0N/ACOUNTING_COUTER(IORead_in_1_bytes, "SB IORead_in_1_bytes")
0N/ACOUNTING_COUTER(IORead_in_2, "SB IORead_in_2")
COUNTING_COUTER(IORead_in_2_1st_bytes, "SB IORead_in_2_1st_bytes")
COUNTING_COUTER(IORead_in_2_2nd_bytes, "SB IORead_in_2_2nd_bytes")
COUNTING_COUTER(IOWrite_in_1, "SB IOWrite_in_1")
COUNTING_COUTER(IOWrite_in_1_bytes, "SB IOWrite_in_1_bytes")
COUNTING_COUTER(IOWrite_in_2, "SB IOWrite_in_2")
COUNTING_COUTER(IOWrite_in_2_1st_bytes, "SB IOWrite_in_2_1st_bytes")
COUNTING_COUTER(IOWrite_in_2_2nd_bytes, "SB IOWrite_in_2_2nd_bytes")
COUNTING_COUTER(IOWrite_no_w, "SB IOWrite_no_w")
COUNTING_COUTER(IOWrite_rest, "SB IOWrite_rest")
COUNTING_COUTER(IOWrite_rest_bytes, "SB IOWrite_rest_bytes")
PROFILE_COUNTER(IOSBAppend_pf, "Profiling sbuf::append common")
PROFILE_COUNTER(IOSBAppend_pf_wa, "Profiling sbuf::append all writen in network")
PROFILE_COUNTER(IOSBAppend_pf_wf, "Profiling sbuf::append writen fault")
PROFILE_COUNTER(IOSBAppend_pf_wp, "Profiling sbuf::append writen partly")
COUNTING_COUTER(IOSBAppend, "SB: Append total")
COUNTING_COUTER(IOSBAppend_wa, "SB: Append all is written to network ")
COUNTING_COUTER(IOSBAppend_wf, "SB: Append nothing is written")
COUNTING_COUTER(IOSBAppend_wp, "SB: Append is written partly")
COUNTING_COUTER(IOSBAppend_zm, "SB: Append mbuf is zerro or less")
COUNTING_COUTER(IOSBAppendSB, "SB: AppendSB total")
COUNTING_COUTER(IOSBAppendSB_w_l_r, "SB: AppendSB (sb_wptr < sb_rptr)")
COUNTING_COUTER(IOSBAppendSB_w_ge_r, "SB: AppendSB (sb_wptr >= sb_rptr)")
COUNTING_COUTER(IOSBAppendSB_w_alter, "SB: AppendSB (altering of sb_wptr)")
PROFILE_COUNTER(TCP_reassamble, "TCP::reasamble")
PROFILE_COUNTER(TCP_input, "TCP::input")
COUNTING_COUTER(DrvNAT_package_sent, "counting package sent via PDM queue")
COUNTING_COUTER(DrvNAT_package_drop, "counting package drops by PDM queue")