Constructor

ArrowSlowFileSystemnew_average_latency

Declaration [src]

GArrowSlowFileSystem*
garrow_slow_file_system_new_average_latency (
  GArrowFileSystem* base_file_system,
  gdouble average_latency
)

Description [src]

The latency is normally distributed with a standard deviation of average_latency * 0.1.

The random seed is given by the default random device.

Available since:0.17.0

Parameters

base_file_system GArrowFileSystem
 

A GArrowFileSystem as the base file system.

 The data is owned by the caller of the function.
average_latency gdouble
 

The average value of the latency.

Return value

Returns: GArrowSlowFileSystem
 

A newly created GArrowSlowFileSystem.

 The caller of the function takes ownership of the data, and is responsible for freeing it.