Constructor

ArrowSlowFileSystemnew_average_latency

since: 0.17.0

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

Type: GArrowFileSystem

A GArrowFileSystem as the base file system.

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

Type: gdouble

The average value of the latency.

Return value

Type: GArrowSlowFileSystem

A newly created GArrowSlowFileSystem.

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