Improve realtime performance on NEOS (#2166)

* fix setting core affinity

* dmonitoringd doesn't need rt priority

* android only gets two cores

* model and planner get core 2

* log missed cycle count

* neos update

* prod image

* revert NEOS changes

* still need this
old-commit-hash: ef21b83937
This commit is contained in:
Adeeb Shihadeh
2020-09-16 15:33:12 -07:00
committed by GitHub
parent d864dc4cf1
commit bdf52941c8
10 changed files with 38 additions and 55 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ void can_recv_thread() {
useconds_t sleep = remaining / 1000;
usleep(sleep);
} else {
LOGW("missed cycle");
LOGW("missed cycles (%d) %lld", (int)-1*remaining/dt, remaining);
next_frame_time = cur_time;
}