nn::dbg::CTR::Statistics::Initialize Member Function#include <nn/dbg.h>
void Initialize(
void * buffer = NULL,
size_t bufferSize = 0
);
| Name | Description | |
|---|---|---|
| buffer | Statistical buffer | |
bufferSize |
Statistical buffer size (in bytes) |
Declares the buffer region passed to the statistics class and performs initialization.
Stores statistics results for measured data in the buffer given by buffer. This size of buffer is given by bufferSize.
The size of a single item in the statistics buffer is the number of bytes given by sizeof(StatisticsRecord). For example, if a buffer 100 times larger than that is configured, statistics can be gathered for 100 types of functions in the order appeared in the measured data buffer when relecting measured data, but the rest is thrown away.
CONFIDENTIAL