globus_ftp_client_throughput_plugin(3) | globus_ftp_client | globus_ftp_client_throughput_plugin(3) |
globus_ftp_client_throughput_plugin - Throughput Performance Plugin.
#define GLOBUS_FTP_CLIENT_THROUGHPUT_PLUGIN_MODULE
(&globus_i_ftp_client_throughput_plugin_module)
typedef void(*
globus_ftp_client_throughput_plugin_begin_cb_t) (void *user_specific,
globus_ftp_client_handle_t *handle, const char *source_url, const
char *dest_url)
typedef void(* globus_ftp_client_throughput_plugin_stripe_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, int stripe_ndx,
globus_off_t bytes, float instantaneous_throughput, float avg_throughput)
typedef void(* globus_ftp_client_throughput_plugin_total_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, globus_off_t
bytes, float instantaneous_throughput, float avg_throughput)
typedef void(* globus_ftp_client_throughput_plugin_complete_cb_t) (void
*user_specific, globus_ftp_client_handle_t *handle, globus_bool_t
success)
typedef void *(* globus_ftp_client_throughput_plugin_user_copy_cb_t)
(void *user_specific)
typedef void(* globus_ftp_client_throughput_plugin_user_destroy_cb_t)
(void *user_specific)
globus_result_t globus_ftp_client_throughput_plugin_init
(globus_ftp_client_plugin_t *plugin,
globus_ftp_client_throughput_plugin_begin_cb_t begin_cb,
globus_ftp_client_throughput_plugin_stripe_cb_t per_stripe_cb,
globus_ftp_client_throughput_plugin_total_cb_t total_cb,
globus_ftp_client_throughput_plugin_complete_cb_t complete_cb, void
*user_specific)
globus_result_t globus_ftp_client_throughput_plugin_set_copy_destroy
(globus_ftp_client_plugin_t *plugin,
globus_ftp_client_throughput_plugin_user_copy_cb_t copy_cb,
globus_ftp_client_throughput_plugin_user_destroy_cb_t destroy_cb)
globus_result_t globus_ftp_client_throughput_plugin_destroy
(globus_ftp_client_plugin_t *plugin)
globus_result_t globus_ftp_client_throughput_plugin_get_user_specific
(globus_ftp_client_plugin_t *plugin, void **user_specific)
Throughput Performance Plugin.
The FTP Throughput Performance plugin allows the user to obtain calculated performance information for all types of transfers except a third party transfer in which Extended Block mode is not enabled.
Note: Since this plugin is built on top of the Performance Marker Plugin, it is not possible to associate both plugins with a handle
Module descriptor
Transfer begin callback
This callback will be called when a transfer begins
Parameters:
Returns:
Transfer complete callback
This callback will be called upon transfer completion (successful or otherwise)
Parameters:
Returns:
Stripe performace throughput callback
This callback will be called with every performance callback that is received by the perf plugin. The first callback for each stripe_ndx will have an instantaneous_throughput based from the time the command was sent.
Parameters:
Total performace throughput callback
This callback will be called with every performance callback that is received by the perf plugin. The first callback for will have an instantaneous_throughput based from the time the command was sent. This callback will be called after the per_stripe_cb
Parameters:
Copy constructor
This callback will be called when a copy of this plugin is made, it is intended to allow initialization of a new user_specific data
Parameters:
Returns:
Destructor
This callback will be called when a copy of this plugin is destroyed, it is intended to allow the user to free up any memory associated with the user specific data
Parameters:
Returns:
Destroy throughput plugin
Frees up memory associated with plugin
Parameters:
Returns:
Retrieve user specific pointer
Parameters:
Returns:
Throughput plugin init
Use this function to initialize a throughput plugin. The throughput plugin sits on top of the perf_plugin. The only required param is 'plugin', all others may be GLOBUS_NULL
Parameters:
Returns:
Set user copy and destroy callbacks
Use this to have the plugin make callbacks any time a copy of this plugin is being made. This will allow the user to keep state for different handles.
Parameters:
Returns:
Generated automatically by Doxygen for globus_ftp_client from the source code.
Wed Feb 27 2019 | Version 9.2 |