Skip to main content
`Ctrl`+`K`

# Utility functions

## Timing functions

void blosc_set_timestamp(blosc_timestamp_t *timestamp)

double blosc_elapsed_nsecs(blosc_timestamp_t start_time, blosc_timestamp_t end_time)

double blosc_elapsed_secs(blosc_timestamp_t start_time, blosc_timestamp_t end_time)

## File and directory utilities

int blosc2_remove_dir(const char *path)

int blosc2_remove_urlpath(const char *path)

int blosc2_rename_urlpath(char *old_urlpath, char *new_path)

## Slice utilities

int blosc2_get_slice_nchunks(blosc2_schunk *schunk, int64_t *start, int64_t *stop, int64_t **chunks_idx)

void blosc2_unidim_to_multidim(uint8_t ndim, int64_t *shape, int64_t i, int64_t *index)

void blosc2_multidim_to_unidim(const int64_t *index, int8_t ndim, const int64_t *strides, int64_t *i)