2016-01-02 03:02:34 -08:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* Copyright (c) FIRST 2016. All Rights Reserved. */
|
|
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
2014-08-08 17:05:49 -04:00
|
|
|
|
|
|
|
|
#include "Internal/HardwareHLReporting.h"
|
2016-05-22 21:41:22 -07:00
|
|
|
#include "HAL/HAL.h"
|
2014-08-08 17:05:49 -04:00
|
|
|
|
|
|
|
|
void HardwareHLReporting::ReportScheduler() {
|
2015-06-25 15:07:55 -04:00
|
|
|
HALReport(HALUsageReporting::kResourceType_Command,
|
|
|
|
|
HALUsageReporting::kCommand_Scheduler);
|
2014-08-08 17:05:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void HardwareHLReporting::ReportSmartDashboard() {
|
2015-06-25 15:07:55 -04:00
|
|
|
HALReport(HALUsageReporting::kResourceType_SmartDashboard, 0);
|
2014-08-08 17:05:49 -04:00
|
|
|
}
|