17 #include <pia/transport/transport_definitions.h> 19 #include <pia/transport/transport_ProtocolId.h> 21 #include <pia/common/common_Time.h> 87 void Print(
bool bDetail)
const;
95 void Trace(u64 flag)
const;
98 static const size_t INVALID_IDX = 0xffffffff;
99 size_t GetIndex(ProtocolId
id)
const;
100 size_t CreateIndex(ProtocolId
id);
char name[MAX_NAME_LEN]
Specifies the name to attach to the instance. The string must be terminated with \0.
Definition: transport_PacketAnalysisData.h:63
size_t totalDataSize
Specifies the total amount of data, in bytes, corresponding to ProtocolId.
Definition: transport_PacketAnalysisData.h:55
ProtocolId protocolId
ProtocolId.
Definition: transport_PacketAnalysisData.h:53
void ClearExceptName()
Clears all members except name.
void Trace(u64 flag) const
Prints information that is useful for debugging.
struct Entry entry[MAX_ENTRIES]
Specifies an array of entries.
Definition: transport_PacketAnalysisData.h:60
static const size_t MAX_ENTRIES
Specifies the maximum entries.
Definition: transport_PacketAnalysisData.h:44
Stores information required for tabulating the results of an analysis of the data in sent and receive...
Definition: transport_PacketAnalysisData.h:42
void Print(bool bDetail) const
Prints the data.
static const size_t MAX_NAME_LEN
Specifies the longest name that can be assigned to this object.
Definition: transport_PacketAnalysisData.h:45
size_t totalPacketSize
Specifies the total size of the packets analyzed.
Definition: transport_PacketAnalysisData.h:65
size_t totalPacketNum
Specifies the number of packets analyzed.
Definition: transport_PacketAnalysisData.h:64
Contains information required for tabulating analysis results for each ProtocolId.
Definition: transport_PacketAnalysisData.h:51
size_t sumTotalPacketNum
Specifies the number of packets counted since analysis started. This value is not cleared by the Clea...
Definition: transport_PacketAnalysisData.h:67
u64 sumTotalDataSize
Specifies the total amount of data, in bytes, corresponding to ProtocolId. This value is not cleared ...
Definition: transport_PacketAnalysisData.h:57
size_t sumTotalNum
Specifies the number of protocol messages that correspond to ProtocolId. This value is not cleared by...
Definition: transport_PacketAnalysisData.h:56
size_t nowEntryNum
Specifies the current number of entries.
Definition: transport_PacketAnalysisData.h:61
void ClearCounters()
Clears the totalNum, totalDataSize, passedMilliSec, totalPacketNum, and totalPacketSize members...
u64 sumTotalPacketSize
Specifies the total size of the packets counted since analysis started. This value is not cleared by ...
Definition: transport_PacketAnalysisData.h:68
size_t totalNum
Specifies the number of protocol messages that correspond to ProtocolId.
Definition: transport_PacketAnalysisData.h:54
s32 passedMilliSec
Specifies the elapsed time, in milliseconds, since the execution of the PiaTransport startup process...
Definition: transport_PacketAnalysisData.h:62