Skip to content

Issue 74/use mbed timer 17q2 workshop #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gilles-peskine-arm
Copy link
Contributor

benchmark: fix build error on Cortex-M0

The timing code uses the DWT cycle counter which is an M3/M4 feature.
For the sake of M0, use the mbed microsecond timer if DWT is not available.
Throughput in kB/s remains shown on all platforms.

This commit addresses #74

The timing code uses the DWT cycle counter which is an M3/M4 feature.
For the sake of M0, use the mbed microsecond timer if DWT is not
available.

This commit addresses ARMmbed#74
A return statement was missing in a benchmarking function.
@andresag01
Copy link

Closing this PR as we have decided in favour of the fix at #79

@andresag01 andresag01 closed this Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants