Jump to content
Sign in to follow this  
Guest Dave

An accurate timing tool

Recommended Posts

Guest Dave

I think the stopwatch plugin is sometimes forgotten, so a few points about it.

 

The  stopwatch plugin makes it easy to measure the time intervals when running code  under the simulator.

 

Time can be measure manually by:

1) Set the start and stop signal sources to None.

2) Stop code execution at the required start point.

3) Set a breakpoint at the stop point.

4) Click the stopwatch start button.

5) Click the run button to execute code to the breakpoint.

6) Click the stopwatch stop button.

 

The measured time is displayed in clock cycles and in ms.

For the ms to be correct ensure the Clock rate is set on Setting->ClockRate menu.

 

Regards

Dave

:cool:

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...