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

Synopsis

Declared in <balm_metricdescription.h>

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

Created with MrDocs