My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Attributes | List of all members
stat_item Struct Reference

The internal statistics structure where stats are aggregated One per statistic-item. More...

#include <controller_stats.h>

Public Attributes

unsigned int id
 A unique identifier for the item being logged. More...
 
int write_index
 The write index in the circular buffer. More...
 
bool rolled_over
 Whether the stats structure has rolled over at least once. More...
 
struct timed_statstats
 Timestamp and data for each gathered statistic. More...
 
pthread_mutex_t mutex
 Lock for changing stat item. More...
 
struct timed_rrdb stats
 

Detailed Description

The internal statistics structure where stats are aggregated One per statistic-item.

Definition at line 50 of file rt_stats.c.

Member Data Documentation

unsigned int stat_item::id

A unique identifier for the item being logged.

Definition at line 52 of file rt_stats.c.

pthread_mutex_t stat_item::mutex

Lock for changing stat item.

Definition at line 56 of file rt_stats.c.

bool stat_item::rolled_over

Whether the stats structure has rolled over at least once.

Definition at line 54 of file rt_stats.c.

struct timed_rrdb stat_item::stats

Definition at line 30 of file controller_stats.h.

struct timed_stat* stat_item::stats

Timestamp and data for each gathered statistic.

Definition at line 55 of file rt_stats.c.

int stat_item::write_index

The write index in the circular buffer.

Definition at line 53 of file rt_stats.c.


The documentation for this struct was generated from the following files: