Example to demonstrate usage of `mbed_stats_cpu_get()` API usage

Committer:
mbed_official
Date:
Thu Nov 28 16:02:11 2019 +0000
Revision:
27:2dd1f9b90afb
Parent:
22:603552270466
Merge https://github.com/ARMmbed/mbed-os-example-cpu-stats

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-cpu-stats

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 22:603552270466 1 # Testing examples
mbed_official 22:603552270466 2
mbed_official 22:603552270466 3 Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log.
mbed_official 22:603552270466 4
mbed_official 22:603552270466 5 To run the test, use following command after you build the example:
mbed_official 22:603552270466 6 ```
mbed_official 22:603552270466 7 mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\cpu-stats.bin --compare-log tests\cpu-stats.log
mbed_official 22:603552270466 8 ```
mbed_official 22:603552270466 9
mbed_official 22:603552270466 10
mbed_official 22:603552270466 11 More details about `htrun` are [here](https://github.com/ARMmbed/htrun#testing-mbed-os-examples).
mbed_official 22:603552270466 12