mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user