nn::mic::CTR::GetSamplingBufferSize Function

Syntax

Result GetSamplingBufferSize(
     size_t * pSize
);

Arguments

Name Description
out pSize Returns the size of the sampling results that will be saved. The units are bytes.

Return Values

Returns the result of the operation.
Value Description
ResultSuccess Process succeeded.
ResultNotInitialized The memory region has not been set.

Description

Returns the size of the sampling results that will be saved within the memory region set using nn::mic::CTR::SetBuffer.

The results will be saved starting at the 0th byte in the memory region that was set using nn::mic::CTR::SetBuffer. The amount of data saved will be one byte less than the size obtained using GetSamplingBufferSize.

Revision History

2010/12/18
Revised the description of the return values.
2010/06/23
Initial version.

CONFIDENTIAL