Associate the specified value with the specified data key.
Declared in <balm_metricdescription.h>
void
setUserData(
UserDataKey key,
void const* value);
The behavior is undefined unless key >= 0. Note that this method allows clients of balm to associate (opaque) application-specific information with a metric.
| Name | Description |
|---|---|
| key | user-data key associated with this metric |
| value | opaque user-data value to associate |