Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
198087f6
Commit
198087f6
authored
15 years ago
by
Ruud Overeem
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1306: Updated the test programs also.
parent
1fdefe50
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LCS/ApplCommon/test/tRCUCables.cc
+2
-2
2 additions, 2 deletions
LCS/ApplCommon/test/tRCUCables.cc
LCS/ApplCommon/test/tRCUCables.stdout
+17
-17
17 additions, 17 deletions
LCS/ApplCommon/test/tRCUCables.stdout
with
19 additions
and
19 deletions
LCS/ApplCommon/test/tRCUCables.cc
+
2
−
2
View file @
198087f6
...
...
@@ -40,10 +40,10 @@ int main (int argc, char* argv[])
RCUCables
RC1
(
"tRCUCables.in_CableAtts"
,
"tRCUCables.in_1"
);
// Note: test it in 4 loops iso 1 because the results are easier to interpret than.
for
(
int
rcuMode
=
0
;
rcuMode
<=
7
;
rcuMode
++
)
{
LOG_DEBUG_STR
(
"
Small
est delay for mode "
<<
rcuMode
<<
": "
<<
RC1
.
get
Small
estDelay
(
rcuMode
));
LOG_DEBUG_STR
(
"
Larg
est delay for mode
"
<<
rcuMode
<<
": "
<<
RC1
.
get
Larg
estDelay
(
rcuMode
));
}
for
(
int
rcuMode
=
0
;
rcuMode
<=
7
;
rcuMode
++
)
{
LOG_DEBUG_STR
(
"
Small
est atten for mode "
<<
rcuMode
<<
": "
<<
RC1
.
get
Small
estAtt
(
rcuMode
));
LOG_DEBUG_STR
(
"
Larg
est atten for mode
"
<<
rcuMode
<<
": "
<<
RC1
.
get
Larg
estAtt
(
rcuMode
));
}
for
(
int
rcuMode
=
0
;
rcuMode
<=
7
;
rcuMode
++
)
{
LOG_DEBUG_STR
(
"Delay for RCU 5 in mode "
<<
rcuMode
<<
": "
<<
RC1
.
getDelay
(
5
,
rcuMode
));
...
...
This diff is collapsed.
Click to expand it.
LCS/ApplCommon/test/tRCUCables.stdout
+
17
−
17
View file @
198087f6
...
...
@@ -13,24 +13,24 @@ DEBUG LCS.ApplCommon - 8 x 5
[CableAttenuation.cc:103]
DEBUG LCS.ApplCommon - Reading cable-delays from file: ./tRCUCables.in_1 [RCUCables.cc:52]
DEBUG LCS.ApplCommon - Found cable specs for 191 RCUs [RCUCables.cc:108]
DEBUG LCS.ApplCommon - Shortest LBA cable is
5
0m [RCUCables.cc:109]
DEBUG LCS.ApplCommon - Shortest LBA cable is
8
0m [RCUCables.cc:109]
DEBUG LCS.ApplCommon - Shortest HBA cable is 115m [RCUCables.cc:110]
DEBUG LCS.ApplCommon -
Small
est delay for mode 0: 0 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 1:
199.257
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 2:
199.257
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 3:
199.257
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 4:
199.257
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 5: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 6: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est delay for mode 7: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Small
est atten for mode 0: 0 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 1: -
2.05
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 2: -
2.05
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 3: -
2.05
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 4: -
2.05
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 5: -8.35 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 6: -9.7 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Small
est atten for mode 7: -10.18 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
0: 0 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
1:
326.964
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
2:
326.964
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
3:
326.964
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
4:
326.964
[tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
5: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
6: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est delay for mode
7: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
0: 0 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
1: -
3.32
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
2: -
3.32
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
3: -
3.32
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
4: -
3.32
[tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
5: -8.35 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
6: -9.7 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon -
Larg
est atten for mode
7: -10.18 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 0: 0 [tRCUCables.cc:49]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 1: 199.257 [tRCUCables.cc:49]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 2: 199.257 [tRCUCables.cc:49]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment