CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

CPU load of an controller

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
prabu



Joined: 29 Jan 2015
Posts: 8
Location: india chennai

View user's profile Send private message

CPU load of an controller
PostPosted: Tue Feb 16, 2016 3:49 am     Reply with quote

How to calculate the CPU Load of an controller ?
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Feb 16, 2016 6:40 am     Reply with quote

You need to better describe what you want. I know English is a hard language to learn but we need more information.


Jay
newguy



Joined: 24 Jun 2004
Posts: 1907

View user's profile Send private message

PostPosted: Tue Feb 16, 2016 7:45 am     Reply with quote

If you have real hardware and a spare pin on the processor, you can set that pin high whenever you're doing something, and low when you finish. Use an oscilloscope to measure the ratio of busy / idle and you have your processor load.
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Feb 16, 2016 9:20 am     Reply with quote

hmm.. I was thinking actual current( power) consumption not the processor use.

jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group