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> #include <pcp/mmv_stats.h>
10
11       void mmv_inc_value(void *addr, pmAtomValue *val, double inc)
12
13       cc ... -lpcp_mmv -lpcp
14

DESCRIPTION

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

SEE ALSO

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