CTR Pia  4.11.3
Game Communication Engine
nn::pia::transport::ConnectionAnalysisData Struct Reference

The ConnectionAnalysisData structure contains parameters related to the connection quality (such as the round-trip time (RTT) and the packet loss rate). More...

Classes

struct  Entry
 Contains information required for tabulating analysis results for each Station. More...
 

Public Member Functions

void Clear ()
 Clears the member variables.
 
void Print (bool bDetail) const
 Outputs the data to the console (except in the Release build). More...
 
void Trace (u64 flag) const
 Prints information that is useful for debugging. More...
 

Public Attributes

struct Entry entry [MAX_ENTRIES]
 Entry.
 
s32 passedMilliSec
 Time elapsed (in milliseconds).
 

Detailed Description

The ConnectionAnalysisData structure contains parameters related to the connection quality (such as the round-trip time (RTT) and the packet loss rate).


Revision History:

2013-11-22 Changed the type for the variables that count packets and packet losses from u16 to u32.

2013-11-14 Added a member variable that maintains a counter from the point at which measurement starts.

2013-10-29 Initial version.

Member Function Documentation

void nn::pia::transport::ConnectionAnalysisData::Print ( bool  bDetail) const

Outputs the data to the console (except in the Release build).

Parameters
[in]bDetailSet to true to also output data related to the internal implementation of Pia.
void nn::pia::transport::ConnectionAnalysisData::Trace ( u64  flag) const

Prints information that is useful for debugging.

Parameters
[in]flagSpecifies the bitwise OR of trace flags. For more information, see the TraceFlag API reference.