mbed-os-examples
/
mbed-os-example-mbed5-cpu-stats
Example to demonstrate usage of `mbed_stats_cpu_get()` API usage
tests/README.md@27:2dd1f9b90afb, 2019-11-28 (annotated)
- 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?
User | Revision | Line number | New 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 |