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.
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS: Success.
LEVEL_PERMANENT:SUMMARY_NOTHING_HAPPENED:MODULE_NN_MIC:DESCRIPTION_NOT_INITIALIZED: 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/06/23
Initial version.

CONFIDENTIAL