RPC_STATS_VECTOR
typedef struct {
unsigned
int Count;
unsigned
long Stats[1];
}
RPC_STATS_VECTOR;
Count
Specifies the
number of statistics values present in the array Stats.
Stats
Specifies an
array of unsigned long integers representing server statistics that contains Count
elements.
Remarks
The statistics
vector contains statistics from the RPC run-time library on a per-server basis.
The statistics vector contains a count member (Count), followed by an
array of statistics. Each array element contains an unsigned long value. The
following list describes the statistics indexed by the specified constant:
Constant |
Statistics |
RPC_C_STATS_CALLS_IN |
The number
of remote procedure calls received by the server |
RPC_C_STATS_CALLS_OUT |
The number
of remote procedure calls initiated by the server |
RPC_C_STATS_PKTS_IN |
The number
of network packets received by the server |
RPC_C_STATS_PKTS_OUT |
The number
of network packets sent by the server |
To obtain run-time
statistics, an application calls the RpcMgmtInqStats routine. The RPC
run-time library allocates memory for the statistics vector. The application
calls the RpcMgmtStatsVectorFree routine to free the statistics vector.
See Also