#include <stdint.h>
#include <string_view>
#include <wpi/string.h>
Go to the source code of this file.
◆ HAL_ReportUsage() [1/3]
Reports usage of a resource of interest.
Repeated calls for the same resource name replace the previous report.
- Parameters
-
resource | the used resource name; convention is to suffix with "[instanceNum]" for multiple instances of the same resource |
data | arbitrary associated data string |
- Returns
- a handle
◆ HAL_ReportUsage() [2/3]
Reports usage of a resource of interest.
Repeated calls for the same resource name replace the previous report.
- Parameters
-
resource | the used resource name |
instanceNumber | an index that identifies the resource instance |
data | arbitrary associated data string |
- Returns
- a handle
◆ HAL_ReportUsage() [3/3]
Reports usage of a resource of interest.
Repeated calls for the same resource name replace the previous report.
- Parameters
-
resource | the used resource name; convention is to suffix with "[instanceNum]" for multiple instances of the same resource |
data | arbitrary associated data string |
- Returns
- a handle