Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
7d635773
Commit
7d635773
authored
11 years ago
by
Richard Linden
Browse files
Options
Downloads
Plain Diff
Automated merge with
https://bitbucket.org/lindenlab/viewer-interesting
parents
35b591a4
0e29315e
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
indra/llcommon/lltraceaccumulators.h
+2
-2
2 additions, 2 deletions
indra/llcommon/lltraceaccumulators.h
with
2 additions
and
2 deletions
indra/llcommon/lltraceaccumulators.h
+
2
−
2
View file @
7d635773
...
@@ -95,7 +95,7 @@ namespace LLTrace
...
@@ -95,7 +95,7 @@ namespace LLTrace
void
addSamples
(
const
AccumulatorBuffer
<
ACCUMULATOR
>&
other
,
EBufferAppendType
append_type
)
void
addSamples
(
const
AccumulatorBuffer
<
ACCUMULATOR
>&
other
,
EBufferAppendType
append_type
)
{
{
llassert
(
mStorageSize
>=
sNextStorageSlot
&&
other
.
mStorageSize
>
sNextStorageSlot
);
llassert
(
mStorageSize
>=
sNextStorageSlot
&&
other
.
mStorageSize
>
=
sNextStorageSlot
);
for
(
size_t
i
=
0
;
i
<
sNextStorageSlot
;
i
++
)
for
(
size_t
i
=
0
;
i
<
sNextStorageSlot
;
i
++
)
{
{
mStorage
[
i
].
addSamples
(
other
.
mStorage
[
i
],
append_type
);
mStorage
[
i
].
addSamples
(
other
.
mStorage
[
i
],
append_type
);
...
@@ -104,7 +104,7 @@ namespace LLTrace
...
@@ -104,7 +104,7 @@ namespace LLTrace
void
copyFrom
(
const
AccumulatorBuffer
<
ACCUMULATOR
>&
other
)
void
copyFrom
(
const
AccumulatorBuffer
<
ACCUMULATOR
>&
other
)
{
{
llassert
(
mStorageSize
>=
sNextStorageSlot
&&
other
.
mStorageSize
>
sNextStorageSlot
);
llassert
(
mStorageSize
>=
sNextStorageSlot
&&
other
.
mStorageSize
>
=
sNextStorageSlot
);
for
(
size_t
i
=
0
;
i
<
sNextStorageSlot
;
i
++
)
for
(
size_t
i
=
0
;
i
<
sNextStorageSlot
;
i
++
)
{
{
mStorage
[
i
]
=
other
.
mStorage
[
i
];
mStorage
[
i
]
=
other
.
mStorage
[
i
];
...
...
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