Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip Trettner
aion
Commits
016ffa04
Commit
016ffa04
authored
Aug 10, 2017
by
Philip Trettner
Browse files
Merge branch 'master' of
https://www.graphics.rwth-aachen.de:9000/ptrettner/aion
parents
f946a7bc
c801d2bc
Changes
5
Show whitespace changes
Inline
Side-by-side
src/aion/ActionAnalyzer.cc
View file @
016ffa04
...
@@ -159,6 +159,8 @@ void ActionAnalyzer::dumpSummary(std::ostream &oss, bool verbose)
...
@@ -159,6 +159,8 @@ void ActionAnalyzer::dumpSummary(std::ostream &oss, bool verbose)
oss
<<
" "
<<
desc
<<
std
::
string
(
nameLength
-
desc
.
size
(),
' '
)
<<
" "
;
oss
<<
" "
<<
desc
<<
std
::
string
(
nameLength
-
desc
.
size
(),
' '
)
<<
" "
;
oss
<<
aion_fmt
::
format
(
cntFmt
,
a
->
count
())
<<
"x "
;
oss
<<
aion_fmt
::
format
(
cntFmt
,
a
->
count
())
<<
"x "
;
aion_systime
::
formatHuman
(
a
->
averageNS
(),
oss
);
aion_systime
::
formatHuman
(
a
->
averageNS
(),
oss
);
oss
<<
" = "
;
aion_systime
::
formatHuman
(
a
->
totalTimeNS
(),
oss
);
oss
<<
" ("
;
oss
<<
" ("
;
aion_systime
::
formatHuman
(
a
->
minNS
(),
oss
);
aion_systime
::
formatHuman
(
a
->
minNS
(),
oss
);
oss
<<
" ~ "
;
oss
<<
" ~ "
;
...
...
src/aion/ActionLabel.cc
View file @
016ffa04
...
@@ -102,6 +102,16 @@ void ActionLabel::startEntry()
...
@@ -102,6 +102,16 @@ void ActionLabel::startEntry()
ActionEntry
e
;
ActionEntry
e
;
e
.
labelIdx
=
mIndex
;
e
.
labelIdx
=
mIndex
;
writeTime
(
e
);
writeTime
(
e
);
if
(
!
sEntries
)
{
sLabelLock
.
lock
();
if
(
!
sEntries
)
{
sEntries
=
new
std
::
vector
<
ActionEntry
>
();
sEntriesPerThread
.
push_back
(
sEntries
);
}
sLabelLock
.
unlock
();
}
sEntries
->
push_back
(
e
);
sEntries
->
push_back
(
e
);
}
}
...
...
src/aion/ActionLabel.hh
View file @
016ffa04
src/aion/ActionTree.cc
View file @
016ffa04
...
@@ -76,7 +76,7 @@ SharedActionTree ActionTree::construct(const std::vector<ActionEntry> &entries,
...
@@ -76,7 +76,7 @@ SharedActionTree ActionTree::construct(const std::vector<ActionEntry> &entries,
_
actionIdx
=
size_t
{
0
};
_
actionIdx
=
size_t
{
0
};
Action
*
prevAction
=
nullptr
;
Action
*
prevAction
=
nullptr
;
int64_t
lastTime
;
int64_t
lastTime
=
-
1
;
for
(
_
const
&
e
:
entries
)
for
(
_
const
&
e
:
entries
)
{
{
// start action
// start action
...
...
src/aion/common/NetMessage.cc
View file @
016ffa04
...
@@ -160,6 +160,7 @@ void NetMessage::verifyTypeInfo(const std::string &type, const std::string &fiel
...
@@ -160,6 +160,7 @@ void NetMessage::verifyTypeInfo(const std::string &type, const std::string &fiel
std
::
cerr
<<
"Trying to read a std::string with size "
<<
size
<<
"which is quite too long"
<<
std
::
endl
;
std
::
cerr
<<
"Trying to read a std::string with size "
<<
size
<<
"which is quite too long"
<<
std
::
endl
;
assert
(
0
);
assert
(
0
);
}
}
delete
[]
stype
;
mGood
=
false
;
mGood
=
false
;
return
;
return
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment