Constructor

ArrowSlowFileSystemnew_average_latency_and_seed

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 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.

seed gint32
 

A random seed.

Return value

Returns: GArrowSlowFileSystem
 

A newly created GArrowSlowFileSystem.

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