Commit Graph

12 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2e6ca5dd05 debug: add summary to check_timings
old-commit-hash: 20a44bb4e9e36e525e0caa6694c6cb863a23b538
2024-06-08 21:01:39 -07:00
Adeeb Shihadeh
f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95dabb0229dba01cd585d852e7ca5d47ff
2024-05-07 21:36:04 -07:00
Cameron Clough
9bd90112d0 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
60cb813af5 ui: publish draw times + add test (#26119)
* ui: publish draw times + add test

* add some checks

* adjust

* fix linter

* update max

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 15b8c7d1dc3a75d78c0bbaa4f6b866374f6e8672
2022-10-17 17:14:38 -07:00
Cameron Clough
23a4e66b17 configure mypy outside of pre-commit environment (#25892)
* add mypy config matching precommit

* use local mypy, add files to config

* excludes too

* fix config

* pylint is sad now... did it get updated?

* fix typing hints

* ignore

* this should be a regexp

* mypy doesn't like Deque despite inheriting MutableSequence

* more excludes

* Revert "pylint is sad now... did it get updated?"

This reverts commit 250c632f18ecb3d33ffb931e15425f9314a0964b.
old-commit-hash: 4e310b807fb1ccdde4b2078468fab46e5324dfa2
2022-09-27 20:43:05 -07:00
Adeeb Shihadeh
2445fdc4d0 remove mypy ignore from a few scripts
old-commit-hash: 11b5d51da61cac111fb4e5af3b1df6091d860dfc
2022-06-30 15:36:40 -07:00
Adeeb Shihadeh
25cfa2b65a tici: affine loggerd to efficiency cores (#22581)
old-commit-hash: 84de248fa7cbee37ecb2fd6a9d4df50ba60a1e04
2021-10-18 13:21:24 -07:00
Adeeb Shihadeh
0c29c7928b check_timings.py: start printing immediately
old-commit-hash: a7cc34fd77f780d5c45abb0d0bfaefd000f96b2b
2021-09-13 20:08:43 -07:00
Adeeb Shihadeh
277bd43b15 Revert "tici: give loggerd rt priority (#21503)"
This reverts commit 0a50cf851e79342cf3db01033bc91516c504cbea.

old-commit-hash: 54a4eeb0fccd92c3b2f872175cfedf136a1cfc71
2021-08-22 16:57:53 -07:00
Adeeb Shihadeh
5c1d1ebe76 tici: give loggerd rt priority (#21503)
* give loggerd rt priority

* assert

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7e2752c878a9e8c38639e4caa234bcabb979db2e
2021-08-20 21:27:31 -07:00
Adeeb Shihadeh
65dc6c3209 fixup timing script
old-commit-hash: 69160375c6d3bc7160948d4339e1b54018328ccf
2021-07-09 21:12:18 -07:00
Adeeb Shihadeh
2445ace577 debug script for checking timings
old-commit-hash: d11b0c06bf3f677c68412fff81eb702a22fc2624
2021-07-09 21:08:16 -07:00