Associate the specified value with the specified data key.

Synopsis

Declared in <balm_metricdescription.h>

void
setUserData(
    UserDataKey key,
    void const* value);

Description

The behavior is undefined unless key >= 0. Note that this method allows clients of balm to associate (opaque) application‐specific information with a metric.

Parameters

Name

Description

key

user‐data key associated with this metric

value

opaque user‐data value to associate

Created with MrDocs