1sample: 2 name: Zbus Benchmark 3tests: 4 sample.zbus.benchmark_async: 5 tags: zbus 6 min_ram: 16 7 filter: CONFIG_SYS_CLOCK_EXISTS and not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) 8 harness: console 9 harness_config: 10 type: multi_line 11 ordered: true 12 regex: 13 - "I: Benchmark 1 to 8 using LISTENERS to transmit with message size: 256 bytes" 14 - "I: Bytes sent = 262144, received = 262144" 15 - "I: Average data rate: (\\d+).(\\d+)MB/s" 16 - "I: Duration: (\\d+).(\\d+)s" 17 - "@(.*)" 18 extra_configs: 19 - CONFIG_BM_ONE_TO=8 20 - CONFIG_BM_MESSAGE_SIZE=256 21 - CONFIG_BM_LISTENERS=y 22 - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 23 - CONFIG_IDLE_STACK_SIZE=1024 24 integration_platforms: 25 - qemu_x86 26 sample.zbus.benchmark_async_msg_sub: 27 tags: zbus 28 min_ram: 16 29 filter: CONFIG_SYS_CLOCK_EXISTS and not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) 30 harness: console 31 harness_config: 32 type: multi_line 33 ordered: true 34 regex: 35 - "I: Benchmark 1 to 8 using MSG_SUBSCRIBERS to transmit with message size: 256 bytes" 36 - "I: Bytes sent = 262144, received = 262144" 37 - "I: Average data rate: (\\d+).(\\d+)MB/s" 38 - "I: Duration: (\\d+).(\\d+)s" 39 - "@(.*)" 40 extra_configs: 41 - CONFIG_BM_ONE_TO=8 42 - CONFIG_BM_MESSAGE_SIZE=256 43 - CONFIG_BM_MSG_SUBSCRIBERS=y 44 - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 45 - CONFIG_IDLE_STACK_SIZE=1024 46 integration_platforms: 47 - qemu_x86 48 sample.zbus.benchmark_sync: 49 tags: zbus 50 min_ram: 16 51 filter: CONFIG_SYS_CLOCK_EXISTS and not (CONFIG_ARCH_POSIX and not CONFIG_BOARD_NATIVE_SIM) 52 harness: console 53 harness_config: 54 type: multi_line 55 ordered: true 56 regex: 57 - "I: Benchmark 1 to 8 using SUBSCRIBERS to transmit with message size: 256 bytes" 58 - "I: Bytes sent = 262144, received = 262144" 59 - "I: Average data rate: (\\d+).(\\d+)MB/s" 60 - "I: Duration: (\\d+).(\\d+)s" 61 - "@(.*)" 62 extra_configs: 63 - CONFIG_BM_ONE_TO=8 64 - CONFIG_BM_MESSAGE_SIZE=256 65 - CONFIG_BM_SUBSCRIBERS=y 66 - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 67 - CONFIG_IDLE_STACK_SIZE=1024 68 integration_platforms: 69 - qemu_x86 70