Bartek Szatkowski
efd307fa79
Rename new occurrences of LOWPOWERTIMER to LPTICKER
2018-05-25 12:33:43 -05:00
deepikabhavnani
ea356a6e8c
Increased wait time to allow device to sleep
...
With small wait time at the start, chances are that device does not
enter sleep and idle time is zero. Increasing wait time to make sure
device goes to sleep.
2018-05-23 15:06:17 -05:00
Deepika
25e2b8838a
Added additional read to care of lazyily initialized timer
2018-05-17 10:25:31 -05:00
Deepika
7900863c4d
Updated test to not use event queue.
...
Test was failing on limited RAM devices, because of shared event queue size.
Updated test to use thread instead of event queue.
2018-05-16 14:26:08 -05:00
Deepika
029237b683
Addressed review comments
...
1. LP ticker limiation note
2. Use read_us in mbed_uptime function
3. Doxygen recommendations
4. Use us_timestamp_t instead uint64_t
5. Astyle changes
2018-05-15 11:36:08 -05:00
deepikabhavnani
3420ff7f9c
CPU statistics addition
...
API to get CPU stats like sleep/deepsleep time, uptime and idle time.
These can be used by application to know the CPU Usage runtime.
2018-05-15 11:20:52 -05:00