Attitude fw: Remove builtin perf counters

This commit is contained in:
Lorenz Meier
2016-05-05 20:06:01 +02:00
parent 22d18d638c
commit 199c423f1f
8 changed files with 6 additions and 22 deletions
+1 -6
View File
@@ -63,17 +63,12 @@ ECL_Controller::ECL_Controller(const char *name) :
_integrator(0.0f),
_rate_error(0.0f),
_rate_setpoint(0.0f),
_bodyrate_setpoint(0.0f),
_perf_name()
_bodyrate_setpoint(0.0f)
{
/* Init performance counter */
snprintf(_perf_name, sizeof(_perf_name), "fw att control %s nonfinite input", name);
_nonfinite_input_perf = perf_alloc(PC_COUNT, _perf_name);
}
ECL_Controller::~ECL_Controller()
{
perf_free(_nonfinite_input_perf);
}
void ECL_Controller::reset_integrator()