1MMV_INC_VALUE(3)           Library Functions Manual           MMV_INC_VALUE(3)
2
3
4

NAME

6       mmv_inc_value - update a value in a Memory Mapped Value file
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/mmv_stats.h>
11
12       void mmv_inc_value(void *addr, pmAtomValue *val, double inc);
13
14       cc ... -lpcp_mmv -lpcp
15

DESCRIPTION

17       mmv_inc_value provides a convenient way of updating a value returned by
18       the  mmv_lookup_value_desc.   addr  is  the   address   returned   from
19       mmv_stats_init().
20
21       The value of the inc is internally cast to match the type of the metric
22       and then added to the previous value of the metric.
23

SEE ALSO

25       mmv_stats_init(3), mmv_lookup_value_desc(3) and mmv(5).
26
27
28
29Performance Co-Pilot                                          MMV_INC_VALUE(3)
Impressum