1f08c3bdfSopenharmony_ciThis document defines the plan for stress testing of POSIX Clocks
2f08c3bdfSopenharmony_ciand Timers.
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ciFirst a list of the features that will and will not be tested is given.
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ciThen, an attempt is made to break down the features into possible testing
7f08c3bdfSopenharmony_ciscenarios.  Not all of these may be implemented.  The assertions.xml file
8f08c3bdfSopenharmony_ciwill have the additional detail on which were chosen for implementation.
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ciFeatures To Be Tested
11f08c3bdfSopenharmony_ci=====================
12f08c3bdfSopenharmony_ciThe following features will be tested:
13f08c3bdfSopenharmony_ci - Repetition of key clocks/timers functions.
14f08c3bdfSopenharmony_ci - Behavior of normal functions under heavy memory usage.
15f08c3bdfSopenharmony_ci - Behavior of normal functions under heavy CPU usage.
16f08c3bdfSopenharmony_ci - Behavior of normal functions under heavy timers usage.
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ciFeatures Not To Be Tested
19f08c3bdfSopenharmony_ci=========================
20f08c3bdfSopenharmony_ciAPI testing of the clocks/timers functions is considered to be done by
21f08c3bdfSopenharmony_cithe conformance section.
22f08c3bdfSopenharmony_ciFunctionality testing is considered to be done by the functional section.
23f08c3bdfSopenharmony_ciStress testing involving specific hardware is not defined at this time.
24f08c3bdfSopenharmony_ciStress testing involving use interaction is not defined at this time.
25f08c3bdfSopenharmony_ci
26f08c3bdfSopenharmony_ciTest Case Scenarios
27f08c3bdfSopenharmony_ci===================
28f08c3bdfSopenharmony_ciSome potential test case scenarios are listed after each functional
29f08c3bdfSopenharmony_ciarea.
30f08c3bdfSopenharmony_ci
31f08c3bdfSopenharmony_ciRepetition
32f08c3bdfSopenharmony_ci----------
33f08c3bdfSopenharmony_ci- Repeat key functional tests multiple times.
34f08c3bdfSopenharmony_ci- Set clock time forward and backward multiple times.
35f08c3bdfSopenharmony_ci- Set up a repeating timer and block the signals to attempt to get a large
36f08c3bdfSopenharmony_ci  overrun.
37f08c3bdfSopenharmony_ci- Send many (1000s) of signals at the same time.
38f08c3bdfSopenharmony_ci
39f08c3bdfSopenharmony_ciHeavy Memory
40f08c3bdfSopenharmony_ci------------
41f08c3bdfSopenharmony_ci- Set memory to 95% and run through key clocks functions.
42f08c3bdfSopenharmony_ci- Set memory to 95% and run through key timers functions.
43f08c3bdfSopenharmony_ci
44f08c3bdfSopenharmony_ciHeavy CPU
45f08c3bdfSopenharmony_ci---------
46f08c3bdfSopenharmony_ci- Set CPU to 95% and run through key clocks functions.
47f08c3bdfSopenharmony_ci- Set CPU to 95% and run through key timers functions.
48f08c3bdfSopenharmony_ci
49f08c3bdfSopenharmony_ciHeavy Timers
50f08c3bdfSopenharmony_ci------------
51f08c3bdfSopenharmony_ci- Set up >10,000 timers and run through key clocks functions.
52f08c3bdfSopenharmony_ci- Set up >10,000 timers and run through key timers functions.
53f08c3bdfSopenharmony_ci
54f08c3bdfSopenharmony_ci* Will also perform kernel profiling on select stress tests.
55f08c3bdfSopenharmony_ciContributors:	julie.n.fleischer REMOVE-THIS AT intel DOT com
56f08c3bdfSopenharmony_ci		geoffrey.r.gustafson REMOVE-THIS AT intel DOT com
57f08c3bdfSopenharmony_ci		rolla.n.selbak REMOVE-THIS AT intel DOT com
58f08c3bdfSopenharmony_ci		majid.awad REMOVE-THIS AT intel DOT com
59f08c3bdfSopenharmony_ci		salwan.searty REMOVE-THIS AT intel DOT com
60f08c3bdfSopenharmony_ci		rddunlap REMOVE-THIS AT osdl DOT org
61