better name
This commit is contained in:
parent
b51298b5b9
commit
b9771e42e9
|
@ -16,7 +16,7 @@
|
||||||
#include "efitime.h"
|
#include "efitime.h"
|
||||||
#include "efilib2.h"
|
#include "efilib2.h"
|
||||||
|
|
||||||
int maxHowFarOff = 0;
|
uint32_t maxSchedulingPrecisionLoss = 0;
|
||||||
|
|
||||||
scheduling_s::scheduling_s() {
|
scheduling_s::scheduling_s() {
|
||||||
callback = NULL;
|
callback = NULL;
|
||||||
|
@ -165,8 +165,8 @@ int EventQueue::executeAll(efitime_t now) {
|
||||||
efiAssert(current->callback != NULL, "callback==null2", 0);
|
efiAssert(current->callback != NULL, "callback==null2", 0);
|
||||||
uint32_t before = GET_TIMESTAMP();
|
uint32_t before = GET_TIMESTAMP();
|
||||||
current->isScheduled = false;
|
current->isScheduled = false;
|
||||||
int howFarOff = now - current->momentX;
|
uint32_t howFarOff = now - current->momentX;
|
||||||
maxHowFarOff = maxI(maxHowFarOff, howFarOff);
|
maxSchedulingPrecisionLoss = maxI(maxSchedulingPrecisionLoss, howFarOff);
|
||||||
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||||
printf("execute current=%d param=%d\r\n", (long)current, (long)current->param);
|
printf("execute current=%d param=%d\r\n", (long)current, (long)current->param);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -396,7 +396,7 @@ extern uint32_t maxEventCallbackDuration;
|
||||||
extern uint32_t maxPrecisionCallbackDuration;
|
extern uint32_t maxPrecisionCallbackDuration;
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
|
||||||
extern int maxHowFarOff;
|
extern uint32_t maxSchedulingPrecisionLoss;
|
||||||
extern uint32_t *cyccnt;
|
extern uint32_t *cyccnt;
|
||||||
|
|
||||||
extern int vvtEventRiseCounter;
|
extern int vvtEventRiseCounter;
|
||||||
|
@ -407,6 +407,8 @@ void resetMaxValues() {
|
||||||
maxEventCallbackDuration = triggerMaxDuration = 0;
|
maxEventCallbackDuration = triggerMaxDuration = 0;
|
||||||
#endif /* EFI_PROD_CODE || EFI_SIMULATOR */
|
#endif /* EFI_PROD_CODE || EFI_SIMULATOR */
|
||||||
|
|
||||||
|
maxSchedulingPrecisionLoss = 0;
|
||||||
|
|
||||||
#if EFI_CLOCK_LOCKS || defined(__DOXYGEN__)
|
#if EFI_CLOCK_LOCKS || defined(__DOXYGEN__)
|
||||||
maxLockedDuration = 0;
|
maxLockedDuration = 0;
|
||||||
#endif /* EFI_CLOCK_LOCKS */
|
#endif /* EFI_CLOCK_LOCKS */
|
||||||
|
@ -488,8 +490,7 @@ void triggerInfo(void) {
|
||||||
scheduleMsg(logger, "primary logic input: %s", hwPortname(boardConfiguration->logicAnalyzerPins[0]));
|
scheduleMsg(logger, "primary logic input: %s", hwPortname(boardConfiguration->logicAnalyzerPins[0]));
|
||||||
scheduleMsg(logger, "secondary logic input: %s", hwPortname(boardConfiguration->logicAnalyzerPins[1]));
|
scheduleMsg(logger, "secondary logic input: %s", hwPortname(boardConfiguration->logicAnalyzerPins[1]));
|
||||||
|
|
||||||
scheduleMsg(logger, "zeroTestTime=%d maxHowFarOff=%d", engine->m.zeroTestTime, maxHowFarOff);
|
scheduleMsg(logger, "zeroTestTime=%d maxSchedulingPrecisionLoss=%d", engine->m.zeroTestTime, maxSchedulingPrecisionLoss);
|
||||||
maxHowFarOff = 0;
|
|
||||||
|
|
||||||
scheduleMsg(logger, "advanceLookupTime=%d now=%d fuelCalcTime=%d",
|
scheduleMsg(logger, "advanceLookupTime=%d now=%d fuelCalcTime=%d",
|
||||||
engine->m.advanceLookupTime, *cyccnt,
|
engine->m.advanceLookupTime, *cyccnt,
|
||||||
|
|
Loading…
Reference in New Issue