SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: - Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) enabled-by: true links: - role: requirement-refinement uid: perf-runtime - role: runtime-measurement-request uid: ../val/perf non-functional-type: performance-runtime params: {} rationale: null references: [] requirement-type: non-functional test-body: brief: | Start the worker task. code: | ctx->status = rtems_task_start( ctx->worker_id, Worker, (rtems_task_argument) ctx ); description: null test-cleanup: null test-prepare: null test-setup: brief: | Create a worker task. code: | ctx->worker_id = CreateTask( "WORK", PRIO_LOW ); description: null test-teardown: brief: | Delete the worker. Discard samples interrupted by a clock tick. code: | T_quiet_rsc_success( ctx->status ); DeleteTask( ctx->worker_id ); return tic == toc; description: null text: | While the execution environment is ${.:/environment}, while the measurement sample is the runtime of exactly one successful call to ${../if/start:/name} which does not preempt the caller, when exactly ${../val/perf:/params/sample-count} samples are collected, the ${.:/limit-kind} shall be ${.:/limit-condition}. type: requirement