---
name: "switchbench"
section: "1"
platform: "linux"
package: "xenomai-runtime"
version: "2.6.3-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/switchbench"
---

# switchbench(1)

Xenomai latency test for task switches

## NAME

switchbench - Xenomai latency test for task switches

## SYNOPSIS

**switchbench** \[ options \]

## DESCRIPTION

**switchbench** is part of Xenomai. It can be used to test task switch latencies. A suitable Xenomai enabled kernel with the respective module (xeno\_posix) must be installed.

## OPTIONS

**switchbench** accepts the following options:

- **-h**

  enable histogram

- **-p \<period\_us\>**

  timer period

- **-n \<samples\>**

  number of samples to collect

- **-i \<samples\>**

  number of *first* samples to ignore

## AUTHOR

**switchbench** was written by Philippe Gerum and Max Krasnyansky. This man page was written by Roland Stigge.
