time_series_init_series

March 26, 2020 Contributors

Name

time_series_init_series — Add a monitor to the series

Synopsis

#include "misc/time_series.h"

| int **time_series_init_series** ( | ts, |   |
|   | base_interval, |   |
|   | num_intervals); |   |

time_series * <var class="pdparam">ts</var>;
time_t <var class="pdparam">base_interval</var>;
unsigned short <var class="pdparam">num_intervals</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.

Add a monitor to the series.

Parameters

ts
  • the time series.
base_interval
  • the size of the monitor’s interval.
num_intervals
  • the number of the intervals.

Return Values

total count of monitors.