Commit Graph

1293 Commits

Author SHA1 Message Date
Matthew Kennedy 73fc01ceec put back safe part of #2005 (#2036)
* put back some safe bits

* dumb typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
rusefillc b463166297 minor fixes 2020-12-06 19:25:48 -05:00
rusefillc 8d6255b1e2 Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of 622021e799 commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy 622021e799 switch rpm calculator to use timer class (#2005)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
rusefillc 5464498909 6.1 Hemi V8 decoder fix #2010 2020-12-04 16:50:26 -05:00
rusefillc 589558b5f1 6.1 Hemi V8 decoder #2010 2020-12-04 16:33:29 -05:00
rusefillc 9871d5b501 refactoring: magic constants 2020-12-04 16:24:19 -05:00
rusefillc 5ae3347927 6.1 Hemi V8 decoder #2010 2020-12-04 16:03:27 -05:00
rusefillc 2b2ffe9d7d 6.1 Hemi V8 decoder #2010 2020-12-04 15:33:07 -05:00
rusefillc 45e47220ab 6.1 Hemi V8 decoder #2010 2020-12-04 15:22:53 -05:00
rusefillc d191d31272 all triggers should be documented way nicer #2001 2020-12-04 14:00:49 -05:00
rusefillc 24eff376fe all triggers should be documented way nicer #2001 2020-12-04 13:54:16 -05:00
rusefillc 59e4e3187b all triggers should be documented way nicer #2001 2020-12-04 11:58:26 -05:00
rusefillc d3a21bcb63 6.1 Hemi V8 decoder #2010 2020-12-04 01:02:09 -05:00
rusefillc eb3dd94390 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
rusefillc 9a897007c4 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
rusefillc c6d49e9621 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008 2020-12-03 23:12:30 -05:00
rusefillc c9a5a41a2f DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
Matthew Kennedy bb2208fb52 add timer since last trigger tooth (#2004)
* add elapsed time to timer

* store trigger time

* fsio method

* don't do a 64b divide

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
rusefillc ba0503177c more dead code 2020-12-03 10:49:20 -05:00
rusefillc bcd5e029fa dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
rusefillc 238e639c53 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
rusefillc 7327fd6e6c all triggers should be documented way nicer #2001 2020-12-02 22:17:38 -05:00
Matthew Kennedy be71d06dfc remove (#1985) 2020-11-23 20:10:17 -05:00
Matthew Kennedy c73978310f Remove trigger listener list (#1886)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out

* remove listener array
2020-10-17 08:00:11 -04:00
Matthew Kennedy f6f3e514d2 trigger/scheduler perf improvements (#1885)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out
2020-10-16 11:04:27 -04:00
Matthew Kennedy b9c26efd57 fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy e112bbd07e remove virtual calls from hot path (#1857)
* const ref-ify

* no virtual 

* even more const

* tests

* fix tests
2020-10-05 16:42:50 -04:00
Matthew Kennedy 060cfbd778 const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy 60329b55a5 we don't need two loops (#1855) 2020-10-05 08:57:00 -04:00
Matthew Kennedy ebc884e8d5 trigger decode cleanup and perf (#1853)
* trigger decode cleanup

* test config ptr patchup

* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc 9808e675f5 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefillc 61186a8d80 fixing Kinetis build 2020-10-04 03:04:01 -04:00
rusefillc e6bac27c70 60/2 perf grab #1850
unused parameter
2020-10-04 02:09:12 -04:00
rusefillc 8c32b13567 60/2 perf grab #1850
a) removing more of stack validating - one validation within the deepest method would be enough

b) un-wrapping main callback loop for explicit order of execution
2020-10-04 01:43:02 -04:00
rusefillc edc8ee7299 60/2 perf grab #1850 2020-10-04 01:26:29 -04:00
rusefillc 149bc309f7 60/2 perf grab #1850 2020-10-04 01:04:15 -04:00
rusefillc d9102b3c3c 60/2 perf grab #1850 2020-10-04 00:15:40 -04:00
rusefillc c9bdd59220 new VVT trigger shape? #1847 2020-10-03 10:39:43 -04:00
rusefi 2836954b9c adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi bfc9ebd730 removing third copy of same values 2020-09-28 20:58:21 -04:00
rusefi 50ff019711 VVT support for VAG trigger #883 2020-08-29 18:37:13 -04:00
rusefi b19ffa7075 TriggerConfiguration getPrintPrefix 2020-08-29 17:25:42 -04:00
rusefi bf2d51b8c3 VVT support for VAG trigger fix #883 2020-08-27 01:01:03 -04:00
rusefi f7b03d8e6e common sense change? "should be safe" famous last words 2020-08-27 00:31:59 -04:00
rusefi ed3eaf319c VVT support for VAG trigger #883 2020-08-27 00:06:10 -04:00
rusefi e46681f552 VVT support for VAG trigger #883 2020-08-26 23:35:11 -04:00
rusefi 0992f90f18 VVT support for VAG trigger #883 2020-08-26 20:57:11 -04:00
rusefi 35702163ee const 2020-08-26 17:37:15 -04:00
rusefi f268af5165 const 2020-08-26 17:30:13 -04:00