OpenNet
Hardware_Statistics.h
Aller à la documentation de ce fichier.
1 
2 
3 // Product OpenNet
4 
8 
9 #pragma once
10 
11 namespace OpenNetK
12 {
13 
14  // Data types
16 
17  // TODO OpenNetK.Hardware_Statistics
18  // Normal (Cleanup) - Remove duplicated statistics.
19 
20  typedef enum
21  {
22  HARDWARE_STATS_D0_ENTRY = 0,
23  HARDWARE_STATS_D0_EXIT = 1,
24  HARDWARE_STATS_INTERRUPT_DISABLE = 2,
25  HARDWARE_STATS_INTERRUPT_ENABLE = 3,
26  HARDWARE_STATS_INTERRUPT_PROCESS = 4,
27 
28  HARDWARE_STATS_PACKET_RECEIVE = 6,
29  HARDWARE_STATS_PACKET_SEND = 7,
30  HARDWARE_STATS_RX_packet = 8,
31  HARDWARE_STATS_SET_CONFIG = 9,
32  HARDWARE_STATS_STATISTICS_GET = 10,
33  HARDWARE_STATS_TX_packet = 11,
34 
35  HARDWARE_STATS_RX_BMC_MANAGEMENT_DROPPED_packet = 27,
36 
37  HARDWARE_STATS_RX_HOST_byte = 29,
38  HARDWARE_STATS_RX_HOST_packet = 30,
39  HARDWARE_STATS_RX_LENGTH_ERRORS_packet = 31,
40  HARDWARE_STATS_RX_MANAGEMENT_DROPPED_packet = 32,
41 
42  HARDWARE_STATS_RX_NO_BUFFER_packet = 34,
43  HARDWARE_STATS_RX_OVERSIZE_packet = 35,
44  HARDWARE_STATS_RX_QUEUE_DROPPED_packet = 36,
45  HARDWARE_STATS_RX_UNDERSIZE_packet = 37,
46 
47  HARDWARE_STATS_TX_DISCARDED_packet = 41,
48  HARDWARE_STATS_TX_HOST_byte = 42,
49  HARDWARE_STATS_TX_HOST_packet = 43,
50 
51  HARDWARE_STATS_TX_NO_CRS_packet = 45,
52 
53  HARDWARE_STATS_RESET_QTY = 48,
54 
55  HARDWARE_STATS_INTERRUPT_PROCESS_LAST_MESSAGE_ID = 61,
56 
57  HARDWARE_STATS_QTY = 64,
58  }
59  Hardware_Statistics;
60 
61 };
Definition: Adapter.h:26