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
f015903c
Commit
f015903c
authored
12 years ago
by
Richard Linden
Browse files
Options
Downloads
Plain Diff
Automated merge with
ssh://hg.lindenlab.com/richard/viewer-interesting
parents
21a7b6ea
8d4ceab6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/lltrace.h
+5
-4
5 additions, 4 deletions
indra/llcommon/lltrace.h
with
5 additions
and
4 deletions
indra/llcommon/lltrace.h
+
5
−
4
View file @
f015903c
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#define LL_LLTRACE_H
#define LL_LLTRACE_H
#include
"stdtypes.h"
#include
"stdtypes.h"
#include
"llpreprocessor.h"
#include
<vector>
#include
<vector>
#include
<boost/type_traits/alignment_of.hpp>
#include
<boost/type_traits/alignment_of.hpp>
...
@@ -176,8 +177,8 @@ namespace LLTrace
...
@@ -176,8 +177,8 @@ namespace LLTrace
accumulator
->
mChildTimeCounter
+=
sCurRecorder
.
mChildTime
;
accumulator
->
mChildTimeCounter
+=
sCurRecorder
.
mChildTime
;
accumulator
->
mActiveCount
--
;
accumulator
->
mActiveCount
--
;
accumulator
->
mLastCaller
=
mLastRecorder
->
mAccumulator
;
accumulator
->
mLastCaller
=
mLastRecorder
.
mAccumulator
;
mLastRecorder
->
mChildTime
+=
total_time
;
mLastRecorder
.
mChildTime
+=
total_time
;
// pop stack
// pop stack
sCurRecorder
=
mLastRecorder
;
sCurRecorder
=
mLastRecorder
;
...
@@ -188,7 +189,7 @@ namespace LLTrace
...
@@ -188,7 +189,7 @@ namespace LLTrace
};
};
private
:
private
:
U32
getCPUClockCount32
()
static
U32
getCPUClockCount32
()
{
{
U32
ret_val
;
U32
ret_val
;
__asm
__asm
...
@@ -219,7 +220,7 @@ namespace LLTrace
...
@@ -219,7 +220,7 @@ namespace LLTrace
return
ret_val
;
return
ret_val
;
}
}
static
RecorderStackEntry
*
sCurRecorder
;
static
RecorderStackEntry
sCurRecorder
;
};
};
BlockTimer
::
RecorderStackEntry
BlockTimer
::
sCurRecorder
;
BlockTimer
::
RecorderStackEntry
BlockTimer
::
sCurRecorder
;
...
...
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