Skip to content

[Benchmark] Remove dependencies on DWT registers #74

Closed
@MarceloSalazar

Description

@MarceloSalazar

The application should not access to DWT/Debug registers directly. Also, these registers are only available in ARMv7-M based processors (not in Cortex-M0/M0+).

https://github.com/ARMmbed/mbed-os-example-tls/blob/master/benchmark/main.cpp#L189

I'd suggest to use the 'time' API available in mbed OS:
https://docs.mbed.com/docs/mbed-os-api-reference/en/latest/APIs/tasks/Time/

@sbutcher-arm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions