Example usage of the mbed_stats_thread_get_each API.

Committer:
mbed_official
Date:
Fri Nov 22 16:02:32 2019 +0000
Revision:
26:644b0a2344b3
Parent:
21:cea47119a7f5
Merge https://github.com/ARMmbed/mbed-os-example-thread-statistics

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-thread-statistics

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 21:cea47119a7f5 1 # Testing examples
mbed_official 21:cea47119a7f5 2
mbed_official 21:cea47119a7f5 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 21:cea47119a7f5 4
mbed_official 21:cea47119a7f5 5 To run the test, use following command after you build the example:
mbed_official 21:cea47119a7f5 6 ```
mbed_official 21:cea47119a7f5 7 mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\thread-statistics.bin --compare-log tests\thread-statistics.log
mbed_official 21:cea47119a7f5 8 ```
mbed_official 21:cea47119a7f5 9
mbed_official 21:cea47119a7f5 10
mbed_official 21:cea47119a7f5 11 More details about `htrun` are [here](https://github.com/ARMmbed/htrun#testing-mbed-os-examples).
mbed_official 21:cea47119a7f5 12