FIO tool internals

Overview

Copyright (C) 2004-2022 OKTET Labs Ltd. More…

// global functions

te_errno fio_app_start(tapi_fio_app* app);
te_errno fio_app_stop(tapi_fio_app* app);
te_errno fio_app_wait(tapi_fio_app* app, int16_t timeout_sec);
te_errno fio_app_receive_report(tapi_fio_app* app, char** report);

Detailed Documentation

Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

te_errno fio_app_start(tapi_fio_app* app)

Starting fio tool.

Parameters:

app

App context.

Returns:

Status code

te_errno fio_app_stop(tapi_fio_app* app)

Stopping fio tool.

Parameters:

app

App context.

Returns:

Status code

te_errno fio_app_wait(tapi_fio_app* app, int16_t timeout_sec)

Waiting fio tool.

Parameters:

app

App context.

timeout_sec

Timeout in seconds.

Returns:

Status code

te_errno fio_app_receive_report(tapi_fio_app* app, char** report)

Receive fio report in JSON format.

Parameters:

app

App context.

report

Fio report

Returns:

Status code