Commit Graph

7 Commits

Author SHA1 Message Date
Masayuki Ishikawa
068e1877b8 testing: getprime: Fix to wait for all the threads to finish
Summary:
- I noticed that sometimes getprime causes ASSERT in tls_getset.c
- This commit fixes this issue.

Impact:
- None

Testing:
- Tested with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-06-07 21:32:52 -06:00
Xiang Xiao
1ee948e0c8 Include assert.h for DEBUGASSERT caller
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-24 12:34:37 +09:00
Masayuki Ishikawa
faaec6513c testing: getprime: Introduce configurable thread priority
Summary:
- This commit introduces configurable thread priority
- Also, thread policy is set based on RR_INTERVAL

Impact:
- getprime only

Testing:
- Tested with spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-25 23:20:16 -08:00
Yoshinori Sugino
e1a7c2539e testing/getprime/getprime_main.c: Fix a comment 2020-11-27 05:18:04 -06:00
YAMAMOTO Takashi
469daed335 testing/getprime/getprime_main.c: Fix a printf format warning 2020-11-13 05:51:23 -08:00
Masayuki Ishikawa
813f834018 testing: getprime: Replace license header with Apache License 2.0
Summary:
- This commit replaces license headers under testing/getprime.

Impact:
- No impact

Testing:
- Buid check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Masayuki Ishikawa
eac7ebe476 Merged in masayuki2009/nuttx.apps/getprime (pull request #207)
apps/testing/getprime: Add getprime program to check multi-thread performance

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-04 11:50:46 +00:00