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 support@ccsinfo.com

CCS RTOS stats

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



Joined: 03 Dec 2009
Posts: 1

View user's profile Send private message

CCS RTOS stats
PostPosted: Wed Dec 16, 2009 6:47 pm     Reply with quote

I am having trouble with the stats function in the CCS RTOS.

When I remove a chunk of code from a task that is used to write to external EEPROM via the i2c bus the execution time actually increases.

Is the stats functionality of the CCS RTOS at all reliable?
skassan



Joined: 28 Oct 2010
Posts: 1

View user's profile Send private message

PostPosted: Thu Oct 28, 2010 8:34 am     Reply with quote

I examined the RTOS code, because I was having similar problems. There are two things to check:
Do any of your tasks overrun? If so, the reported times will be incorrect.
Is more than one task scheduled in the same minor time slice? If so, the times reported for the second will include the time for the first. You can see the schedule of tasks in the symbol file.
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