Project

General

Profile

Task #3048

Updated by Alexis Jeandet about 6 years ago

Cette nouvelle version calcule correctement l'utilisation CPU et aussi la moyenne. 

 Avant l'utilisation CPU était calculée sur une seule tache et depuis le dernier reset, et donc n'était pas instantanée. Là elle est calculée seulement entre deux appels consécutifs de la fonction "lfr_rtems_cpu_usage_report":https://hephaistos.lpp.polytechnique.fr/rhodecode/HG_REPOSITORIES/LPP/INSTRUMENTATION/USERS/JEANDET/LFR_FSW/files/20873780eb66afd8209ffc9b60f1df8cded3a90b/src/lfr_cpu_usage_report.c#L19 

 La moyenne de la charge CPU est calculée sur 60 secondes (configurable). 



 Les builds sont disponibles "ici":https://hephaistos.lpp.polytechnique.fr/teamcity/project.html?projectId=LfrFlightSoftware&tab=projectOverview 
 Le FSW pour le LPP est "ici":https://hephaistos.lpp.polytechnique.fr/teamcity/repository/download/LfrFlightSoftware_BuildLpp/29814:id/fsw "ici":https://hephaistos.lpp.polytechnique.fr/teamcity/repository/download/LfrFlightSoftware_BuildLpp/29235:id/fsw

Back