blob: 62720685d0025ac9fd0dafa3555c6f86242ce01c [file] [log] [blame]
sample:
description: Calculation of Pi independently in
a number of threads
name: SMP Pi
common:
tags: introduction
integration_platforms:
- qemu_x86_64
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:
sample.smp.pi:
tags: introduction
filter: (CONFIG_MP_NUM_CPUS > 1)