source: rtems/testsuites/samples/capture/capture.scn @ 4dec352

4.115
Last change on this file since 4dec352 was 8db468f, checked in by Chris Johns <chrisj@…>, on 08/17/07 at 01:07:10

2007-08-17 Chris Johns <chrisj@…>

  • Makefile.am, README, configure.ac, capture/.cvsignore, capture/Makefile.am, capture/capture.doc, capture/capture.scn, capture/init.c, capture/system.h, capture/test1.c: Add a sample test for the capture engine.
  • Property mode set to 100644
File size: 4.2 KB
Line 
1*** CAPTURE ENGING TEST ***
2
3Monitor ready, press enter to login.
4
5rtems $
6rtems $ copen 5000
7capture engine open
8rtems $ cwceil 100
9watch ceiling 100.
10rtems $ cwfloor 102
11watch floor is 102.
12rtems $ cwglob on
13global watch enabled.
14rtems $ ctset RMON
15trigger set.
16rtems $ cwlist
17watch priority ceiling is 100
18watch priority floor is 102
19global watch is enabled
20total 1
21 00000000 RMON g-  T:S------ F:-----
22rtems $ cenable
23capture engine enabled.
24rtems $ ctrace
25rtems $ test1
26rtems $ ctrace
27       91.980000 0a010002 RMON   1   1 CREATED_BY
28       91.980000 0a010003 CT1a 102 102 CREATED
29       91.980000 0a010002 RMON   1   1 STARTED_BY
30       91.980000 0a010003 CT1a 102 102 STARTED
31       91.980000 0a010003 CT1a 102 102 SWITCHED_IN
32       91.980000 0a010003 CT1a 102 102 BEGIN
33       91.980000 0a010003 CT1a 102 102 SWITCHED_OUT
34       92.980000 0a010002 RMON   1   1 CREATED_BY
35       92.980000 0a010004 CT1b 101 101 CREATED
36       92.980000 0a010002 RMON   1   1 STARTED_BY
37       92.980000 0a010004 CT1b 101 101 STARTED
38       92.980000 0a010004 CT1b 101 101 SWITCHED_IN
39       92.980000 0a010004 CT1b 101 101 BEGIN
40       93.980000 0a010004 CT1b 101 101 SWITCHED_OUT
41       93.980000 0a010002 RMON   1   1 CREATED_BY
42       93.980000 0a010004 CT1c 100 100 CREATED
43       93.980000 0a010002 RMON   1   1 STARTED_BY
44       93.980000 0a010005 CT1c 100 100 STARTED
45       93.980000 0a010005 CT1c 100 100 SWITCHED_IN
46       93.980000 0a010005 CT1c 100 100 BEGIN
47       93.980000 0a010005 CT1c 100 100 SWITCHED_OUT
48       93.980000 0a010004 CT1b 101 101 SWITCHED_IN
49rtems $ ctrace
50       94.480000 0a010004 CT1b 101 101 SWITCHED_OUT
51       94.480000 0a010003 CT1a 102 100 SWITCHED_IN
52       94.480000 0a010003 CT1a 102 102 SWITCHED_OUT
53       94.480000 0a010005 CT1c 100 100 SWITCHED_IN
54       94.480000 0a010005 CT1c 100 100 SWITCHED_OUT
55       94.480000 0a010004 CT1b 101 101 SWITCHED_IN
56       94.980000 0a010004 CT1b 101 101 SWITCHED_OUT
57       94.980000 0a010005 CT1c 100 100 SWITCHED_IN
58       94.980000 0a010005 CT1c 100 100 DETELED_BY
59       94.980000 0a010005 CT1c 100 100 DETELED
60       94.980000 0a010004 CT1b 101 101 SWITCHED_IN
61       94.980000 0a010004 CT1b 101 101 DELETED_BY
62       94.980000 0a010004 CT1b 101 101 DELETED
63       94.980000 0a010003 CT1a 102 100 SWITCHED_IN
64       94.980000 0a010003 CT1a 102 100 DELETED_BY
65       94.980000 0a010003 CT1a 102 100 DELETED
66
67*** CAPTURE ENGING TEST ***
68
69Monitor ready, press enter to login.
70
71rtems $ copen 5000
72capture engine open
73rtems $ cenable
74capture engine enabled.
75rtems $ cwadd CT1c
76watch added.
77rtems $ cwctl CT1c on
78watch enabled.
79rtems $ ctset switch CT1c from CT1a
80trigger set.
81rtems $ cwlist
82watch priority ceiling is 0
83watch priority floor is 0
84global watch is disabled
85total 1
86 00000000 CT1c -w  T:------- F:-----
87   0:CT1a/00000000:S----
88rtems $ test1
89rtems $ ctrace
90       61.150000 0a010005 CT1c 100 100 SWITCHED_IN
91       61.150000 0a010005 CT1c 100 100 SWITCHED_OUT
92       61.650000 0a010005 CT1c 100 100 SWITCHED_IN
93       61.650000 0a010005 CT1c 100 100 DELETED_BY
94       61.650000 0a010005 CT1c 100 100 DELETED
95
96*** CAPTURE ENGING TEST ***
97
98Monitor ready, press enter to login.
99
100rtems $ copen 5000
101capture engine open
102rtems $ cenable
103capture engine enabled.
104rtems $ cwadd CT1b
105watch added.
106rtems $ cwctl CT1b on
107watch enabled.
108rtems $ ctset switch CT1c from CT1a
109trigger set.
110rtems $ cwlist
111watch priority ceiling is 0
112watch priority floor is 0
113global watch is disabled
114total 2
115 00000000 CT1c --  T:------- F:-----
116   0:CT1a/00000000:S----
117 00000000 CT1b -w  T:------- F:-----
118rtems $ ctlist
119total 2
120 09010001 IDLE 255 255 255 READY a---   0%   0% (10682)
121 0a010002 RMON   1   1   1 READY a---   0%   0% (826)
122rtems $ test1
123rtems $ ctlist
124total 3
125 0a010004 CT1b 101   0   0 READY dtw- 100%   0% (200)
126 09010001 IDLE 255 255 255 READY a---   0%   0% (10682)
127 0a010002 RMON   1   1   1 READY a---   0%   0% (826)
128rtems $ ctrace
129      551.630000 0a010004 CT1b 101 101 SWITCHED_IN
130      552.130000 0a010004 CT1b 101 101 SWITCHED_OUT
131      552.130000 0a010004 CT1b 101 101 SWITCHED_IN
132      552.130000 0a010004 CT1b 101 101 DELETED_BY
133      552.130000 0a010004 CT1b 101 101 DELETED
134rtems $ ctlist
135total 2
136 09010001 IDLE 255 255 255 READY a---   0%   0% (10682)
137 0a010002 RMON   1   1   1 READY a---   0%   0% (826)
Note: See TracBrowser for help on using the repository browser.