/*	@(#)txstats.h	13.1 (Tolerant) 91/02/02	*/

#include <tsen/en.h>

/*
 * miscellaneous tx statistics
 */

struct txstats
{
    struct en_ethernet	*st_ether[EN_MAX_ETHERS];
						/* ethernet stats (RPU LOCAL) */
    struct txq_stat	**st_queue;		/* tx queue stats head */
    struct sem_stat	**st_sem;		/* tx semaphore stats head */
    int			st_read_calls;		/* # of read operations */
    int			st_bytes_read;		/* # of bytes read */
    int			st_write_calls;		/* # of write operations */
    int			st_bytes_written;	/* # of bytes written */
    int			st_dsk_read_r;		/* # of remote disk read op */
    int			st_dsk_read_l;		/* # of local disk read op */
    int			st_dsk_write_r;		/* # of remote disk write op */
    int			st_dsk_write_l;		/* # of local disk write op */
    struct trstats	*st_trstats;		/* transaction system stats */
    int			st_avenrun[3];		/* load average - SRUN only */
    int			st_rpuloc_req;		/* rpu local cache requests */
    int			st_rpuloc_hit;		/* rpu local cache hits	*/
    int			st_upuloc_req;		/* upu local cache requests */
    int			st_upuloc_hit;		/* upu local cache hits	*/
    int			st_upurmt_req;		/* upu remote cache requests */
    int			st_upurmt_hit;		/* upu remote cache hits */
    struct fx_stat	*st_fxstat;		/* file system stats */
    struct cs_stats	*st_csstat;		/* connection system stats */
    int			st_fcbnotblt_ciblt;	/* open stale msg */
    int			st_fcbblt_cinotblt;	/* open stale msg */
};
