nn::mic::CTR::GetSamplingBufferSize Function

Syntax

Result GetSamplingBufferSize(
     size_t * pSize
);

Parameters

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
Result::IsSuccess 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 sampling results are saved starting at byte 0 of the memory region that was set using nn::mic::CTR::SetBuffer. The amount of data saved is one byte less than the size obtained by this function.

Revision History

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

CONFIDENTIAL