Skip to main content

Name

time_series_init — Function to allocate and initialize a time series data structure

Synopsis

#include "misc/time_series.h"

| time_series * **time_series_init** ( | add_data, |   | |   | alloc_bucket, |   | |   | free_bucket); |   |

void(*)(void *, void *) <var class="pdparam">add_data</var>; void *(*)() <var class="pdparam">alloc_bucket</var>; void(*)(void *) <var class="pdparam">free_bucket</var>;

Description

Function to allocate and initialize a time series data structure.

Note

Deprecated

Use time_series_init2 instead.

Return Values

Instance of a time series.

Was this page helpful?