1 --------------------------------------------------------------------------------
3 --------------------------------------------------------------------------------
4 Invocation
: ..
/cg_annotate
--context 2 --annotate
--show-percs
=yes
--threshold
=0.5 ann2.cgout
6 Events recorded
: A SomeCount VeryLongEventName
7 Events shown
: A SomeCount VeryLongEventName
8 Event
sort order
: A SomeCount VeryLongEventName
12 --------------------------------------------------------------------------------
14 --------------------------------------------------------------------------------
15 A_______________ SomeCount_______ VeryLongEventName
17 100,000 (100.0%) 100,000 (100.0%) 0 PROGRAM TOTALS
19 --------------------------------------------------------------------------------
20 -- File
:function summary
21 --------------------------------------------------------------------------------
22 A___________________________ SomeCount____________ VeryLongEventName__ file
:function
24 < 86,590 (86.6%, 86.6%) 93,000 (93.0%, 93.0%) 0 (n
/a
, n
/a
) ann2
-basic.rs
:
25 68,081 (68.1%) 90,291 (90.3%) 0 f0
26 15,000 (15.0%) 600 (0.6%) 0 f1
27 2,000 (2.0%) 100 (0.1%) 0 f2
31 < 9,000 (9.0%, 95.6%) 6,000 (6.0%, 99.0%) 0 (n
/a
, n
/a
) ann2
-could
-not
-be
-found.rs
:f1
33 < 2,000 (2.0%, 97.6%) 800 (0.8%, 99.8%) -1,000 (n
/a
, n
/a
) ann2
-past
-the
-end.rs
:
34 1,000 (1.0%) 500 (0.5%) 0 <unspecified
>
35 1,000 (1.0%) 300 (0.3%) -1,000 (n
/a
) f1
37 < 1,000 (1.0%, 98.6%) 0 (0.0%, 99.8%) 0 (n
/a
, n
/a
) ann2
-more
-recent
-than
-cgout.rs
:new
39 < 1,000 (1.0%, 99.6%) 0 (0.0%, 99.8%) 0 (n
/a
, n
/a
) ???
:unknown
41 < 10 (0.0%, 99.6%) 0 (0.0%, 99.8%) 1,000 (n
/a
, n
/a
) ann2
-negatives.rs
:
42 -1,000,000 (-1000.0%) 0 150,000 (n
/a
) neg3
43 500,000 (500.0%) 0 -150,000 (n
/a
) neg2a
44 499,999 (500.0%) 0 0 neg2b
46 --------------------------------------------------------------------------------
47 -- Function
:file summary
48 --------------------------------------------------------------------------------
49 A______________________________ SomeCount____________ VeryLongEventName__ function
:file
51 > -1,000,000 (-1000.0%, -1000.0%) 0 (0.0%, 0.0%) 150,000 (n
/a
, n
/a
) neg3
:ann2
-negatives.rs
53 > 500,000 (500.0%, -500.0%) 0 (0.0%, 0.0%) -150,000 (n
/a
, n
/a
) neg2a
:ann2
-negatives.rs
55 > 499,999 (500.0%, -0.0%) 0 (0.0%, 0.0%) 0 (n
/a
, n
/a
) neg2b
:ann2
-negatives.rs
57 > 68,081 (68.1%, 68.1%) 90,291 (90.3%, 90.3%) 0 (n
/a
, n
/a
) f0
:ann2
-basic.rs
59 > 25,000 (25.0%, 93.1%) 6,900 (6.9%, 97.2%) -1,000 (n
/a
, n
/a
) f1
:
60 15,000 (15.0%) 600 (0.6%) 0 ann2
-basic.rs
61 9,000 (9.0%) 6,000 (6.0%) 0 ann2
-could
-not
-be
-found.rs
62 1,000 (1.0%) 300 (0.3%) -1,000 (n
/a
) ann2
-past
-the
-end.rs
64 > 2,000 (2.0%, 95.1%) 100 (0.1%, 97.3%) 0 (n
/a
, n
/a
) f2
:ann2
-basic.rs
66 > 1,000 (1.0%, 96.1%) 500 (0.5%, 97.8%) 0 (n
/a
, n
/a
) <unspecified
>:ann2
-past
-the
-end.rs
68 > 1,000 (1.0%, 97.1%) 0 (0.0%, 97.8%) 0 (n
/a
, n
/a
) unknown
:???
70 > 1,000 (1.0%, 98.1%) 0 (0.0%, 97.8%) 0 (n
/a
, n
/a
) new
:ann2
-more
-recent
-than
-cgout.rs
72 > 500 (0.5%, 98.6%) 0 (0.0%, 97.8%) 0 (n
/a
, n
/a
) f6
:ann2
-basic.rs
74 > 500 (0.5%, 99.1%) 0 (0.0%, 97.8%) 0 (n
/a
, n
/a
) f4
:ann2
-basic.rs
76 --------------------------------------------------------------------------------
77 -- Annotated source file
: ann2
-basic.rs
78 --------------------------------------------------------------------------------
79 A_____________ SomeCount_____ VeryLongEventName
81 7,100 (7.1%) 100 (0.1%) 0 <unknown
(line
0)>
83 -- line
2 ----------------------------------------
86 5,000 (5.0%) 500 (0.5%) 0 four
87 5,000 (5.0%) 100 (0.1%) 0 five
89 68,081 (68.1%) 90,291 (90.3%) 0 seven
91 110 (0.1%) 9 (0.0%) 0 nine
95 200 (0.2%) 0 0 thirteen
96 100 (0.1%) 0 0 fourteen
101 499 (0.5%) 2,000 (2.0%) 0 nineteen
102 300 (0.3%) 0 0 twenty
104 --------------------------------------------------------------------------------
105 -- Annotated source file
: ann2
-could
-not
-be
-found.rs
106 --------------------------------------------------------------------------------
107 Unannotated because one or more of these original files are unreadable
:
108 - ann2
-could
-not
-be
-found.rs
110 --------------------------------------------------------------------------------
111 -- Annotated source file
: ann2
-more
-recent
-than
-cgout.rs
112 --------------------------------------------------------------------------------
113 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
114 @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@
115 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
116 @ Original source files are all newer than data file
'ann2.cgout':
117 @
- ann2
-more
-recent
-than
-cgout.rs
118 @ Annotations may not be correct.
119 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
121 A___________ SomeCount VeryLongEventName
127 -- line
4 ----------------------------------------
129 --------------------------------------------------------------------------------
130 -- Annotated source file
: ann2
-negatives.rs
131 --------------------------------------------------------------------------------
132 A____________________ SomeCount_____ VeryLongEventName
134 -2,000 (-2.0%) -1,000 (-1.0%) -990 (n
/a
) <unknown
(line
0)>
136 2,000 (2.0%) 2,000 (2.0%) 2,000 (n
/a
) one
137 -1,000 (-1.0%) -1,000 (-1.0%) 0 two
140 500,000 (500.0%) 0 -150,000 (n
/a
) five
141 499,999 (500.0%) 0 0 six
143 -1,000,000 (-1000.0%) 0 150,000 (n
/a
) eight
145 -8,000 (-8.0%) 0 10 (n
/a
) ten
146 9,000 (9.0%) 0 -20 (n
/a
) eleven
148 11 (0.0%) 0 0 thirteen
151 -- line
15 ----------------------------------------
153 --------------------------------------------------------------------------------
154 -- Annotated source file
: ann2
-past
-the
-end.rs
155 --------------------------------------------------------------------------------
156 A___________ SomeCount_ VeryLongEventName
158 1,000 (1.0%) 500 (0.5%) 0 one
159 200 (0.2%) 100 (0.1%) 0 two
162 -- line
4 ----------------------------------------
164 300 (0.3%) 100 (0.1%) 0 <bogus line
20>
165 300 (0.3%) 100 (0.1%) 0 <bogus line
21>
166 200 (0.2%) 0 -1,000 (n
/a
) <bogus line
22>
168 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
169 @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@ WARNING @@
170 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
171 @@ Information recorded about lines past the end of
'ann2-past-the-end.rs'.
172 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
174 --------------------------------------------------------------------------------
175 -- Annotation summary
176 --------------------------------------------------------------------------------
177 A_____________ SomeCount_____ VeryLongEventName
179 84,500 (84.5%) 94,700 (94.7%) 990 (n
/a
) annotated
: files known
& above threshold
& readable
, line numbers known
180 5,100 (5.1%) -900 (-0.9%) -990 (n
/a
) annotated
: files known
& above threshold
& readable
, line numbers unknown
181 0 0 0 unannotated
: files known
& above threshold
& two or more non
-identical
182 9,000 (9.0%) 6,000 (6.0%) 0 unannotated
: files known
& above threshold
& unreadable
183 400 (0.4%) 200 (0.2%) 0 unannotated
: files known
& below threshold
184 1,000 (1.0%) 0 0 unannotated
: files unknown