mbed-os-examples
/
mbed-os-example-mbed5-cpu-stats
Example to demonstrate usage of `mbed_stats_cpu_get()` API usage
tests/README.md
- Committer:
- mbed_official
- Date:
- 2019-11-28
- Revision:
- 27:2dd1f9b90afb
- Parent:
- 22:603552270466
File content as of revision 27:2dd1f9b90afb:
# Testing examples Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. To run the test, use following command after you build the example: ``` mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\cpu-stats.bin --compare-log tests\cpu-stats.log ``` More details about `htrun` are [here](https://github.com/ARMmbed/htrun#testing-mbed-os-examples).