View Single Post
  #33   Spotlight this post!  
Unread 30-01-2012, 21:14
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Worried about high CPU usage in CRIO

Quote:
Having a high usage isn't necessarily bad. Well written code can consume 100% of the CPU ...
True. It's not unusual for safety critical embedded software to use all available leftover time to run background health monitoring.

Quote:
Both loops are busy loops - they will consume all available CPU time to check to see if 500 milliseconds have elapsed
If you've got a 32-bit Windows machine, here's a simple demo why this is important.

Reply With Quote