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
282011f9
Commit
282011f9
authored
18 years ago
by
John Romein
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 225
Removed time variable that was always zero
parent
4cfd184c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/BeamletBuffer.h
+3
-8
3 additions, 8 deletions
...CS1_InputSection/include/CS1_InputSection/BeamletBuffer.h
with
3 additions
and
8 deletions
Appl/CEP/CS1/CS1_InputSection/include/CS1_InputSection/BeamletBuffer.h
+
3
−
8
View file @
282011f9
...
...
@@ -79,17 +79,12 @@ namespace LOFAR
BeamletBuffer
&
operator
=
(
const
BeamletBuffer
&
that
);
// Needed for mapping a timestamp to a place in the buffer
TimeStamp
time0
;
uint
mapTime2Index
(
TimeStamp
time
)
const
{
// TODO: this is very slow because of the if and the %
if
(
time
>
time0
)
{
return
(
time
-
time0
)
%
itsSize
;
}
else
{
return
(
time
-
time0
)
%
itsSize
+
itsSize
;
};
// TODO: this is very slow because of the %
return
time
%
itsSize
;
}
// checked for skippeddata and flag it in chunks
// checked for skipped
data and flag it in chunks
void
checkForSkippedData
(
TimeStamp
writeBegin
);
//# Datamembers
...
...
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