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

Measure how much time it takes to run a block of code

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



Joined: 25 Jul 2007
Posts: 16

View user's profile Send private message

Measure how much time it takes to run a block of code
PostPosted: Mon Jan 12, 2009 12:04 pm     Reply with quote

Hello


I would like to know if it's possible to measure how much time is spent in a function.

Some sort of mplab or ccs tool that tells me how much time was spent in a certain block of code.


Does anyone knows anything about this topic?
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon Jan 12, 2009 12:07 pm     Reply with quote

MPLAB simulator has a stopwatch for measurements exact to a machine cycle.
ShellTox



Joined: 25 Jul 2007
Posts: 16

View user's profile Send private message

PostPosted: Mon Jan 12, 2009 12:18 pm     Reply with quote

Thank you for your fast anwser. I'm going to check MPLAB sim
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