File: rrddimvar.h

package info (click to toggle)
netdata 1.37.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 59,364 kB
  • sloc: ansic: 302,654; javascript: 77,865; python: 27,094; sh: 18,726; cpp: 2,916; makefile: 2,547; pascal: 171; xml: 10
file content (21 lines) | stat: -rw-r--r-- 698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_RRDDIMVAR_H
#define NETDATA_RRDDIMVAR_H 1

#include "rrd.h"

// variables linked to individual dimensions
// We link variables to point the values that are already
// calculated / processed by the normal data collection process
// This means, there will be no speed penalty for using
// these variables

void rrddimvar_rename_all(RRDDIM *rd);
void rrddimvar_add_and_leave_released(RRDDIM *rd, RRDVAR_TYPE type, const char *prefix, const char *suffix, void *value, RRDVAR_FLAGS flags);
void rrddimvar_delete_all(RRDDIM *rd);

void rrddimvar_index_init(RRDSET *st);
void rrddimvar_index_destroy(RRDSET *st);

#endif //NETDATA_RRDDIMVAR_H