From 56bc2446f9445052fb0d7b1643628bbf4fc3cfe0 Mon Sep 17 00:00:00 2001 From: arighi Date: Thu, 18 Mar 2010 14:59:08 +0000 Subject: [PATCH] Preemption: set default kernel quantum to 11 ms. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3241 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_proc.h | 2 +- examples/at91sam7/cfg/cfg_proc.h | 2 +- examples/benchmark/kernel-core_avr/cfg/cfg_proc.h | 2 +- examples/benchmark/kernel-only_arm/cfg/cfg_proc.h | 2 +- examples/demo/cfg/cfg_proc.h | 2 +- examples/triface/boot/cfg/cfg_proc.h | 2 +- examples/triface/cfg/cfg_proc.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 97985a99..cb66e273 100644 --- a/bertos/cfg/cfg_proc.h +++ b/bertos/cfg/cfg_proc.h @@ -87,7 +87,7 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/at91sam7/cfg/cfg_proc.h b/examples/at91sam7/cfg/cfg_proc.h index d7483835..f63d0d67 100644 --- a/examples/at91sam7/cfg/cfg_proc.h +++ b/examples/at91sam7/cfg/cfg_proc.h @@ -79,7 +79,7 @@ * $WIZ$ type = "int" * $WIZ$ min = "0" */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/benchmark/kernel-core_avr/cfg/cfg_proc.h b/examples/benchmark/kernel-core_avr/cfg/cfg_proc.h index f543e4d9..f2f4044f 100644 --- a/examples/benchmark/kernel-core_avr/cfg/cfg_proc.h +++ b/examples/benchmark/kernel-core_avr/cfg/cfg_proc.h @@ -81,7 +81,7 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/benchmark/kernel-only_arm/cfg/cfg_proc.h b/examples/benchmark/kernel-only_arm/cfg/cfg_proc.h index 6c3263fe..82820f87 100644 --- a/examples/benchmark/kernel-only_arm/cfg/cfg_proc.h +++ b/examples/benchmark/kernel-only_arm/cfg/cfg_proc.h @@ -81,7 +81,7 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/demo/cfg/cfg_proc.h b/examples/demo/cfg/cfg_proc.h index d8531cdf..696695d4 100644 --- a/examples/demo/cfg/cfg_proc.h +++ b/examples/demo/cfg/cfg_proc.h @@ -87,7 +87,7 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/triface/boot/cfg/cfg_proc.h b/examples/triface/boot/cfg/cfg_proc.h index e4489517..097025e2 100644 --- a/examples/triface/boot/cfg/cfg_proc.h +++ b/examples/triface/boot/cfg/cfg_proc.h @@ -78,7 +78,7 @@ * $WIZ$ type = "int" * $WIZ$ min = "0" */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. diff --git a/examples/triface/cfg/cfg_proc.h b/examples/triface/cfg/cfg_proc.h index e4489517..097025e2 100644 --- a/examples/triface/cfg/cfg_proc.h +++ b/examples/triface/cfg/cfg_proc.h @@ -78,7 +78,7 @@ * $WIZ$ type = "int" * $WIZ$ min = "0" */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level. -- 2.25.1