summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/req
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-25 13:55:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-25 16:54:40 +0100
commit58afe54a8a131867dae38e958d1ae010b01d3bed (patch)
tree55381f1ae6a646bf7bb576f1bb415a33c45911dc /spec/rtems/task/req
parentmodules: Update rtems (diff)
downloadrtems-central-58afe54a8a131867dae38e958d1ae010b01d3bed.tar.bz2
spec: Add performance requirements
Diffstat (limited to 'spec/rtems/task/req')
-rw-r--r--spec/rtems/task/req/perf-construct.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/spec/rtems/task/req/perf-construct.yml b/spec/rtems/task/req/perf-construct.yml
new file mode 100644
index 00000000..83ed57de
--- /dev/null
+++ b/spec/rtems/task/req/perf-construct.yml
@@ -0,0 +1,40 @@
+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
+limits: {}
+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: |
+ Construct a task.
+ code: |
+ ctx->status = rtems_task_construct( &config, &ctx->worker_id );
+ description: null
+test-cleanup: null
+test-prepare: null
+test-setup: 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/construct:/name}, when exactly ${../val/perf:/params/sample-count}
+ samples are collected, the ${.:/limit-kind} shall be ${.:/limit-condition}.
+type: requirement