2019-09-02 21:50:06 +08:00
|
|
|
sample:
|
|
|
|
description: Calculation of Pi independently in
|
|
|
|
a number of threads
|
|
|
|
name: SMP Pi
|
|
|
|
common:
|
|
|
|
tags: introduction
|
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: yes
|
|
|
|
regex:
|
|
|
|
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
|
|
|
|
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
|
|
|
|
- "All [0-9]+ threads executed by [0-9]+ cores in [0-9]+ msec(.*)"
|
|
|
|
tests:
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.smp.pi:
|
2019-09-02 21:50:06 +08:00
|
|
|
tags: introduction
|
2020-02-21 06:43:25 +08:00
|
|
|
filter: (CONFIG_MP_NUM_CPUS > 1)
|