winIDEA SDK
Loading...
Searching...
No Matches
isys::CStorageDevicePerformanceModule Class Reference

Description

This class presents a common API for storage devices performance module.

Python example: test_set_test_mode.py

#include <CStorageDevicePerformanceModule.h>

Public Member Functions

void clearDiagnostic (const bool status)
 Clears diagnostic for each UMI operation execution.
 
CStorageDeviceDiagnostics getDiagnostic ()
 Provides time performances for executed UMI operations.
 
void setBufferSize (const uint32_t size)
 Set internal buffer size for data received from winIDEA.
 
void setTestMode (const bool status)
 Test mode modifies default monitor behavior as: disable double buffering, disable multiple sector erase before download, executes init, deinit, erase and program operation immediately, disables on the fly verify.
 

Member Function Documentation

◆ clearDiagnostic()

void isys::CStorageDevicePerformanceModule::clearDiagnostic ( const bool status)

Clears diagnostic for each UMI operation execution.

Otherwise diagnostic is accumulated.

Parameters
statusif true diagnostic is cleared for each UMI operation; true by default Python example: test_clear_diagnostic.py

◆ getDiagnostic()

CStorageDeviceDiagnostics isys::CStorageDevicePerformanceModule::getDiagnostic ( )

Provides time performances for executed UMI operations.

Returns
CStorageDeviceDiagnostics object of diagnostic results Python example: test_get_diagnostic.py

◆ setBufferSize()

void isys::CStorageDevicePerformanceModule::setBufferSize ( const uint32_t size)

Set internal buffer size for data received from winIDEA.

Parameters
sizebuffer size in bytes; 16KB by default Python example: test_set_buffer_size.py

◆ setTestMode()

void isys::CStorageDevicePerformanceModule::setTestMode ( const bool status)

Test mode modifies default monitor behavior as: disable double buffering, disable multiple sector erase before download, executes init, deinit, erase and program operation immediately, disables on the fly verify.

Parameters
statusif true test mode is enabled; false by default Python example: test_clear_diagnostic.py