Skip to main content

Name

time_series_init2 — Similar to time_series_init() and supporting deleting item from a bucket

Synopsis

#include "misc/time_series.h"

| time_series * **time_series_init2** ( | add_data, |   | |   | del_data, |   | |   | alloc_bucket, |   | |   | free_bucket); |   |

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

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Similar to time_series_init() and supporting deleting item from a bucket.

Parameters

add_data(void

*bucket, void *data) - function to add data to a bucket.

del_data(void

*bucket, void *data) - function to delete data from a bucket.

alloc_bucket()
  • function to allocate a bucket.
free_bucket(void

*bucket) - function to free a bucket.

**Configuration Change. ** This feature is available starting from Momentum 3.1.

Return Values

instance of a time series.

Was this page helpful?