Put partial memory – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 69

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using Analyzer API 69
CSerialSCSICaptureProject::Put_SegmentBufferSize ()
Prototype
HRESULT put_SegmentBufferSize (long lNewVal);
Usage
<Capture Project Object> -> put_SegmentBufferSize (<Segment buffer size in
long>);
Inputs
long lNewVal: Size of each segment’s buffer in KBs
Return Value None
Description Call the put_SegmentBufferSize () function to set size of individual segment
buffer
Put Partial Memory
To set partial memory for sample collection, use the put_PartialMemory () function of SCSI
capture project with an Integer value of memory size as its parameter.
(Refer to TestCaptureProject -> TestCaptureProjectView.cpp ->
OnRunButton ().
)
m_pICaptureProject->put_PartialMemory (m_nMemorySize);
CSerialSCSICaptureProject::put_PartialMemory ()
Prototype
HRESULT put_PartialMemory (long lNewVal);
Usage
<Capture Project Object> -> put_PartialMemory (<long value of memory size>);
Inputs
long lNewVal: Size of partial memory to be considered for sample extraction
Return Value None
Description Call the put_PartialMemory () function to set size of memory for sample
extraction.