mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
Merge pull request #10 from mysterywolf/readme
readme: add rt-thread introduction
This commit is contained in:
commit
25edd0d14d
@ -341,7 +341,11 @@ __super_loop_monitor__()
|
||||
#endif
|
||||
```
|
||||
|
||||
### 2.3 Use perf_counter in RT-Thread RTOS
|
||||
|
||||
perf_counter has registered as one of the [RT-Thread software packages](https://packages.rt-thread.org/en/detail.html?package=perf_counter), which locats in `system` category. In [ENV](https://www.rt-thread.io/download.html?download=Env) or [RT-Thread Studio](https://www.rt-thread.io/download.html?download=Studio), you just need to simply enable cputime framework. RT-Thread will automatically enable perf_counter if you are using Cortex-M architecture.
|
||||
|
||||
![rt-thread-settings](./documents/pictures/rt-thread-settings.png)
|
||||
|
||||
**Enjoy !**
|
||||
|
||||
|
BIN
documents/pictures/rt-thread-settings.png
Normal file
BIN
documents/pictures/rt-thread-settings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Loading…
x
Reference in New Issue
Block a user