rusefi-full/unit_tests/tests/trigger
Scott Smith ba4a00d3bb
Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData (#3519)
* Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData

Most all the users were Multi* anyways, so just improve that:
1. Allow up to 8 waveforms to share one byte per timestamp.  It could be better but this is simple
   and gets most of the benefit.
2. Use a wrapper structure to handle reserving space for the arrays.  Makes the interface simpler
   and more rigid.  Also saves 4 bytes per Multi*.  Downside is access is now via -> and *,
   not . and (nothing).

Saves 224 bytes of BSS, 1832 bytes of RAM4/CCM, 952 bytes of TEXT, and 103 bytes of RODATA

* Instantiate a base_t to make debugging easier.
Also fixes crash on real firmware by using &m_base instead - LTO optimization issue?

* No magical templated StaticAlloc thingy.  Just virtual functions.
2021-11-21 04:56:07 -05:00
..
resources rpm calculator refactoring, gm 24x test (#3585) 2021-11-20 14:59:02 +03:00
test_2jz_vvt.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_all_triggers.cpp remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
test_cam_vvt_input.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_fasterEngineSpinningUp.cpp Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565) 2021-11-17 03:54:21 -05:00
test_injection_scheduling.cpp Make the module API more concise. (#3571) 2021-11-17 21:50:00 -05:00
test_issue_898.cpp remove engine pointer passing (#3556) 2021-11-16 04:15:29 -05:00
test_miata_na_tdc.cpp Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData (#3519) 2021-11-21 04:56:07 -05:00
test_nissan_vq_vvt.cpp Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData (#3519) 2021-11-21 04:56:07 -05:00
test_override_gaps.cpp Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565) 2021-11-17 03:54:21 -05:00
test_quad_cam.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_real_cranking_miata_NA.cpp Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* (#3560) 2021-11-16 16:52:11 -05:00
test_real_cranking_miata_na6.cpp Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* (#3560) 2021-11-16 16:52:11 -05:00
test_real_cranking_nissan_vq40.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_real_gm_24x.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_real_nb2_cranking.cpp Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* (#3560) 2021-11-16 16:52:11 -05:00
test_real_volkswagen.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_rpm_multiplier.cpp Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* (#3560) 2021-11-16 16:52:11 -05:00
test_symmetrical_crank.cpp correctly compute engine revolution number (#3586) 2021-11-21 09:01:27 +03:00
test_trigger_decoder.cpp Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData (#3519) 2021-11-21 04:56:07 -05:00
test_trigger_multi_sync.cpp Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* (#3560) 2021-11-16 16:52:11 -05:00
test_trigger_noiseless.cpp Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565) 2021-11-17 03:54:21 -05:00