Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
weird issue in arm code called by C function
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3413 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
weird issue in arm code called by C function
Getcho Getchev
over 12 years ago
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 21st March 2013 at
http://forums.arm.com
You time measurement is also likely to be wildly inaccurate. You are needing a system call either side of the memmove or the ARM function to get the time. The system call is going to take a lot longer than code it is timing (which is likely to be much shorter than the time granularity, depending on the clock speed you have).
Loop the memmove and the ARM function so they take a second or so to run, and time that.
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 21st March 2013 at
http://forums.arm.com
You time measurement is also likely to be wildly inaccurate. You are needing a system call either side of the memmove or the ARM function to get the time. The system call is going to take a lot longer than code it is timing (which is likely to be much shorter than the time granularity, depending on the clock speed you have).
Loop the memmove and the ARM function so they take a second or so to run, and time that.
Cancel
Vote up
0
Vote down
Cancel
Children
No data