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
Deepika
1961428c1b
OS version added + CPUID for cortex-M only
...
CPUID base register is available for Cortex-M processors only.
Cortex-A devices have Main ID Register, which can be used in future to
get processor info.
2018-05-15 10:22:13 -05:00
deepikabhavnani
40021eb176
Added test for mbed_stats_sys_get() API
2018-05-15 10:17:44 -05:00
deepikabhavnani
97c88188d0
Cleanup
...
1. Enable watermark to get stack space information
2. Restructured code
3. Throw error if MBED_THREAD_STATS_ENABLED is not set
4. Astyle changes
2018-05-11 10:06:44 -05:00
deepikabhavnani
f43b16ffd9
Cleaup and review comments addressed
...
1. Removed prefix thread_ from all elements of mbed_stats_thread_t
2. #if conditions aligned to rest of the file
2018-05-11 10:05:35 -05:00
deepikabhavnani
bb8ccbd373
Checking difference in thread count + review comments
2018-05-11 10:05:33 -05:00
deepikabhavnani
1dad73949c
Thread statistics addition.
...
API to get all system threads information and states.
2018-05-11 10:05:32 -05:00
deepikabhavnani
d43d9b134b
Moved stats test to platform folder
2018-05-01 14:03:31 -05:00
Bartek Szatkowski
73b054601d
Add tests for system_reset()
2018-02-28 16:42:34 +00:00
Maciej Bocianski
0b6f14fbd1
platform: FileHandle test - remove optimization for stdlib diversity
2018-02-23 10:07:52 +01:00
Cruz Monrreal
40d1c02e25
Merge pull request #5914 from mprse/Transaction_tests
...
Add Transaction class unit test.
2018-02-07 15:56:59 -06:00
Martin Kojtal
1d759d0b9c
Merge pull request #5895 from maciejbocianski/fileHandle_tests
...
Add FileHandle tests
2018-02-07 11:53:04 +00:00
Maciej Bocianski
8e1cfe2191
Add FileHandle tests
2018-02-02 14:57:12 +01:00
Przemyslaw Stekiel
79e730328f
Add Transaction class unit test.
2018-01-24 08:56:04 +01:00
Maciej Bocianski
d747f1f300
Test set for critical section
2018-01-19 08:28:20 +01:00
Maciej Bocianski
2ac12028ca
Add SingletonPtr test
2017-12-04 11:42:23 +01:00