Page 22 of | Page 22 of 29 |
Appendix B.1. Driver Stats
The statistics recorded by the
Fragment Ack/nack messages are NOT counted as messages but the bytes sent/rcvd are counted.
Connection messages are counted as messages and the bytes sent/rcvd are counted.
This driver can expose these and additional statistics by writing data to a Data Array.
A special Map Descriptor is required. The driver recognizes the Map Descriptor by its name which must be
Example: Configuration of this special Map Descriptor
Nodes |
|
|
|
|
|
|
Node_Name, |
| Protocol |
|
|
|
|
Null_Node, |
| SNP |
|
|
|
|
Data_Arrays |
|
|
|
|
|
|
Data_Array_Name, | Data_Format, |
| Data_Array_Length |
| ||
SNP_STATS | , | UINT32 | , |
| 660 |
|
|
|
|
|
|
|
|
Map_Descriptors |
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Node_Name, | Length | |||
, | SNP_STATS | , | Null_Node , | 660 |
When the driver sees this Map Descriptor it uses the Data Array SNP_STATS (in this example) to store driver specific statistics. Only one of these Map Descriptors may be specified (per tier) per FieldServer.
The driver stores the following stats for each port.. The offset into the Data Array can be found by multiplying the port number by 60
No | Message | Description |
|
|
|
|
| This is 10 bytes long. The numbers placed |
0 | GE_STAT_CPU_ID | here correspond to the ASCII characters of |
|
| the responding Node's name. |
|
| The current value of the T1 timer is |
11 | GE_STAT_T1_TIMER | reported here. The driver uses the larger of |
|
| its own and the slave T1 Timer. |
12 | GE_STAT_MBOX_NAK_MAJOR | Most recent Mailbox Nak error code. See |
13 | GE_STAT_MBOX_NAK_MINOR | additional table below |
14 | GE_STAT_MBOX_NAK_CNT | Mailbox Nak error Count |
15 | GE_STAT_MBOX_PROG_NUM | Most recent Piggyback info |
16 | GE_STAT_MBOX_SWEEP |
|
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408)