v24.3
struct testdiskspeed(
string dirPath,
int writeBufferSize,
int maxFileSize,
int timeout,
);The function writes data to a file until either the maximum file size is reached or the timeout period expires.
- dirPath
(string)- The path to the directory where the test file will be created. - writeBuffer
(int)- The size of the buffer used for writing data to the file (in KiB). - maxFileSize
(int)- The maximum size of the file to be created (in GiB). - timeout
(int)- Test timeout (in seconds).
- SizeMB
(int)- Written data size (in MiB). - DurationMS
(int)- Test duration (in milliseconds).