ArvStatistic

ArvStatistic — An histogram tool

Functions

Types and Values

Description

Functions

arv_statistic_new ()

ArvStatistic *
arv_statistic_new (guint n_histograms,
                   guint n_bins,
                   guint bin_step,
                   int offset);

[skip]

Parameters

n_histograms

number of histograms

 

n_bins

number of bins for each histogram

 

bin_step

bin step

 

offset

offset of the first bin

 

Returns

a new ArvStatistic structure


arv_statistic_free ()

void
arv_statistic_free (ArvStatistic *statistic);

arv_statistic_reset ()

void
arv_statistic_reset (ArvStatistic *statistic);

arv_statistic_fill ()

gboolean
arv_statistic_fill (ArvStatistic *statistic,
                    guint histogram_id,
                    int value,
                    guint64 counter);

arv_statistic_set_name ()

void
arv_statistic_set_name (ArvStatistic *statistic,
                        guint histogram_id,
                        char const *name);

arv_statistic_to_string ()

char *
arv_statistic_to_string (const ArvStatistic *statistic);

Types and Values

ArvStatistic

typedef struct _ArvStatistic ArvStatistic;