va3wam / TWIPe

This repository contains the embedded code used for the TWIPe robot
MIT License
2 stars 0 forks source link

CPU usage shown in right eye #93

Closed nerdoug closed 3 years ago

nerdoug commented 3 years ago

CPU usage for 8 categories, that align with the routines in loop() are displayed as percentages in the left eye. The labels are: IM // time spent in goIMU controlled part of main loop Wi // time spent in wifi processing in main loop OL // time spent in goOLED controlled part of main loop LD // time spent in goLED controlled part of main loop MD // time spent in goMetadata controlled part of main loop OS // time spent outside of loop() loop // time spinning in loop() finding nothing to do other // time spent in "none of the above", i.e. what's left to make up the second

The lines end in a vertical bar so you can tell if there's been truncation.

Lying on his back, the big numbers are: 55% spinning in loop 20% in IMU processing 15% in other (need to investigate this) 8% in Operating system stuff outside of loop()