projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e6d5c
)
do subtraction
author
bdemsky
<bdemsky>
Tue, 3 Aug 2010 09:50:03 +0000
(09:50 +0000)
committer
bdemsky
<bdemsky>
Tue, 3 Aug 2010 09:50:03 +0000
(09:50 +0000)
Robust/CoreProf/Trace.java
patch
|
blob
|
history
diff --git
a/Robust/CoreProf/Trace.java
b/Robust/CoreProf/Trace.java
index a25c8f6c04249fe455a7c03f9b8b5443959d4e7b..3b69c1ce59982dbc3c8c7b633df4901e3895e942 100644
(file)
--- a/
Robust/CoreProf/Trace.java
+++ b/
Robust/CoreProf/Trace.java
@@
-155,7
+155,7
@@
public class Trace {
Counter c=e.counter;
c.totaltime+=elapsedtime;
c.selftime+=elapsedtime;
- if(depth-1>0) {
+ if(depth-1>
=
0) {
Counter cn=stack[depth-1].counter;
cn.selftime-=elapsedtime;
}
@@
-181,7
+181,7
@@
public class Trace {
Counter c=e.counter;
c.totaltime+=elapsedtime;
c.selftime+=elapsedtime;
- if(depth-1>0) {
+ if(depth-1>
=
0) {
Counter cn=stack[depth-1].counter;
cn.selftime-=elapsedtime;
}