Constructor

ArrowSlowFileSystemnew_average_latency_and_seed

since: 0.17.0

Declaration [src]

GArrowSlowFileSystem*
garrow_slow_file_system_new_average_latency_and_seed (
  GArrowFileSystem* base_file_system,
  gdouble average_latency,
  gint32 seed
)

Description [src]

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

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.

seed

Type: gint32

A random seed.

Return value

Type: GArrowSlowFileSystem

A newly created GArrowSlowFileSystem.

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