Better wording in benchmarks' description.
[bertos.git] / boards / triface / benchmark / context_switch / main.c
index 0c2a5cf36dc94dbfe6161b93c7b6e78f2aba8ce6..f190567f9cbad326434c2da3beab0876dc73460b 100644 (file)
@@ -1,4 +1,3 @@
-
 /**
  * \file
  * <!--
  *
  * \author Daniele Basile <asterix@develer.com>
  *
- * \brief Kernel switch context benchmark.
+ * \brief Kernel context switch benchmark.
+ *
+ * This benchmark measures the overhead (in µs) required to deliver a
+ * signal and switch from a low-priority process to a high-priority process.
  *
- * This benchmark show you the switch context time. This measure is make
- * by hp timer that measure accurately the kernel switch context time, and print
- * it on serial debug. If you want not use the hp timer you can measure this
- * time using one oscilloscope, connected to one board led. To use this
- * mode you should disable hp timer and implement hw_led.h low level module.
+ * The measure is made by the high-precision timer if supported by the
+ * architecture. Alternatively, the time can also be measured using an external
+ * oscilloscope connected to the board's status LED.
  */
 
 #include <benchmark/context_switch.h>
@@ -53,4 +53,3 @@ int main(void)
 
        return 0;
 }
-