WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
UsageReporting.h File Reference
#include <stdint.h>
#include "wpi/util/string.h"

Go to the source code of this file.

Functions

void HAL_ReportUsage (const struct WPI_String *resource, const struct WPI_String *data)
 Reports usage of a resource of interest.

Function Documentation

◆ HAL_ReportUsage()

void HAL_ReportUsage ( const struct WPI_String * resource,
const struct WPI_String * data )

Reports usage of a resource of interest.

Repeated calls for the same resource name replace the previous report.

Parameters
resourcethe used resource name; convention is to suffix with "[instanceNum]" for multiple instances of the same resource
dataarbitrary associated data string