CTR Pia  4.11.3
Game Communication Engine
nn::pia::clone::CloneProfiler< STATION_NUM, LATEST_BUFFER_SIZE > Class Template Reference

This class manages PiaClone profiling. More...

+ Inheritance diagram for nn::pia::clone::CloneProfiler< STATION_NUM, LATEST_BUFFER_SIZE >:

Public Member Functions

 CloneProfiler ()
 Instantiates an object with default parameters (default constructor).
 
void Trace (u64 flag) const
 Prints information that is useful for debugging. More...
 

Detailed Description

template<u32 STATION_NUM, u32 LATEST_BUFFER_SIZE>
class nn::pia::clone::CloneProfiler< STATION_NUM, LATEST_BUFFER_SIZE >

This class manages PiaClone profiling.

It adds a feature that profiles the data each instance sends/receives by registering a CloneProfiler instance for the CloneProtocol, CloneBase, and CloneElementBase instances. CloneProtocol send/receive tasks can be profiled by configuring instance.

You must use a separate CloneProfiler instance for each instance of CloneProtocol, CloneBase, and CloneElementBase to be profiled at the same time.

Template Parameters
STATION_NUMThe number of stations to measure. Normally you specify the largest number of stations participating in the session.
LATEST_BUFFER_SIZEMeasures the data sent and received the last LATEST_BUFFER_SIZE times the common::Scheduler::Dispatch() function was called. Specify 0 if not necessary.
See also
CloneProtocol::SetProfiler, CloneBase::SetProfiler, CloneElementBase::SetProfiler


Revision History:
2013-11-25 Initial version.

Member Function Documentation

void nn::pia::clone::CloneProfilerBase::Trace ( u64  flag) const
inherited

Prints information that is useful for debugging.

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