load_mon: NuttX cpuload use system times for calculation

- this is to minimize the impact of any load_mon scheduling jitter in the sampled load percentage
This commit is contained in:
Daniel Agar
2022-10-05 14:21:38 -04:00
committed by GitHub
parent 29b031c862
commit 8cc39096cb
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2012-2020 PX4 Development Team. All rights reserved.
* Copyright (c) 2012-2022 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions