how many more spelling mistakes?!
This commit is contained in:
parent
f4ab23eb2b
commit
168a899ba9
|
@ -270,7 +270,7 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 0, 0
|
|||
uint16_t mostRecentTimeBetweenIgnitionEvents;;"", 1, 0, -10000, 10000, 3
|
||||
|
||||
uint16_t maxLockedDuration;;"", 1, 0, -10000, 10000, 3
|
||||
uint16_t maxTriggerReentraint;;"", 1, 0, -10000, 10000, 3
|
||||
uint16_t maxTriggerReentrant;;"", 1, 0, -10000, 10000, 3
|
||||
|
||||
|
||||
uint16_t canWriteOk;;"", 1, 0, -10000, 10000, 3
|
||||
|
|
|
@ -109,7 +109,7 @@ extern pin_output_mode_e INVERTED_OUTPUT;
|
|||
|
||||
int warningEnabled = true;
|
||||
|
||||
extern int maxTriggerReentraint;
|
||||
extern int maxTriggerReentrant;
|
||||
extern uint32_t maxLockedDuration;
|
||||
|
||||
|
||||
|
@ -781,7 +781,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels) {
|
|||
|
||||
#if EFI_CLOCK_LOCKS
|
||||
tsOutputChannels->maxLockedDuration = maxLockedDuration;
|
||||
tsOutputChannels->maxTriggerReentraint = maxTriggerReentraint;
|
||||
tsOutputChannels->maxTriggerReentrant = maxTriggerReentrant;
|
||||
#endif /* EFI_CLOCK_LOCKS */
|
||||
|
||||
switch (engineConfiguration->debugMode) {
|
||||
|
|
|
@ -47,7 +47,7 @@ void printRuntimeStats(void) {
|
|||
efiPrintf("maxSchedulingPrecisionLoss=%d", maxSchedulingPrecisionLoss);
|
||||
|
||||
#if EFI_CLOCK_LOCKS
|
||||
efiPrintf("maxLockedDuration=%d / maxTriggerReentraint=%d", maxLockedDuration, maxTriggerReentraint);
|
||||
efiPrintf("maxLockedDuration=%d / maxTriggerReentrant=%d", maxLockedDuration, maxTriggerReentrant);
|
||||
|
||||
efiPrintf("perSecondIrqDuration=%d ticks / perSecondIrqCounter=%d", perSecondIrqDuration, perSecondIrqCounter);
|
||||
efiPrintf("IRQ CPU utilization %f%%", perSecondIrqDuration / (float)CORE_CLOCK * 100);
|
||||
|
|
|
@ -364,8 +364,8 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index) {
|
|||
tc->vvtPosition[bankIndex][camIndex] = vvtPosition;
|
||||
}
|
||||
|
||||
int triggerReentraint = 0;
|
||||
int maxTriggerReentraint = 0;
|
||||
int triggerReentrant = 0;
|
||||
int maxTriggerReentrant = 0;
|
||||
uint32_t triggerDuration;
|
||||
uint32_t triggerMaxDuration = 0;
|
||||
|
||||
|
@ -466,13 +466,13 @@ void handleShaftSignal(int signalIndex, bool isRising, efitick_t timestamp) {
|
|||
#endif /* EFI_TOOTH_LOGGER */
|
||||
|
||||
uint32_t triggerHandlerEntryTime = getTimeNowLowerNt();
|
||||
if (triggerReentraint > maxTriggerReentraint)
|
||||
maxTriggerReentraint = triggerReentraint;
|
||||
triggerReentraint++;
|
||||
if (triggerReentrant > maxTriggerReentrant)
|
||||
maxTriggerReentrant = triggerReentrant;
|
||||
triggerReentrant++;
|
||||
|
||||
engine->triggerCentral.handleShaftSignal(signal, timestamp);
|
||||
|
||||
triggerReentraint--;
|
||||
triggerReentrant--;
|
||||
triggerDuration = getTimeNowLowerNt() - triggerHandlerEntryTime;
|
||||
triggerMaxDuration = maxI(triggerMaxDuration, triggerDuration);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue