projects
/
deliverable
/
tracecompass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03648ea
)
Bug 378402: Implementation of ControlFlow view and Resources view for
author
Patrick Tasse
<patrick.tasse@gmail.com>
Sat, 2 Jun 2012 15:36:53 +0000
(11:36 -0400)
committer
Patrick Tasse
<patrick.tasse@gmail.com>
Sat, 2 Jun 2012 15:36:53 +0000
(11:36 -0400)
LTTng 2.0.
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
patch
|
blob
|
blame
|
history
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
patch
|
blob
|
blame
|
history
diff --git
a/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
b/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
index 56464358be3021f190b10abb165c96d9d3d29ea6..362fd5d83b720e2ab671e6dd50cd430bb33b7949 100644
(file)
--- a/
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
+++ b/
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
@@
-268,7
+268,7
@@
public class ControlFlowView extends TmfView {
}
\r
\r
private void zoom(ControlFlowEntry entry, IProgressMonitor monitor) {
\r
}
\r
\r
private void zoom(ControlFlowEntry entry, IProgressMonitor monitor) {
\r
- if (fZoomStartTime <=
entry.getStartTime() && fZoomEndTime >= entry.getEndTime()
) {
\r
+ if (fZoomStartTime <=
fStartTime && fZoomEndTime >= fEndTime
) {
\r
entry.setZoomedEventList(null);
\r
return;
\r
}
\r
entry.setZoomedEventList(null);
\r
return;
\r
}
\r
diff --git
a/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
b/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
index e7045b2c147cd5a34d7a30f69a3a6da7cb628a11..f5c7893f532b0b1f86530f23fe82377f6d91aebe 100644
(file)
--- a/
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
+++ b/
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
@@
-228,9
+228,9
@@
public class ResourcesView extends TmfView {
for (TraceEntry traceEntry : entryList) {
\r
for (ITimeGraphEntry child : traceEntry.getChildren()) {
\r
ResourcesEntry entry = (ResourcesEntry) child;
\r
for (TraceEntry traceEntry : entryList) {
\r
for (ITimeGraphEntry child : traceEntry.getChildren()) {
\r
ResourcesEntry entry = (ResourcesEntry) child;
\r
- if (fZoomStartTime <=
entry.getStartTime() && fZoomEndTime >= entry.getEndTime()
) {
\r
+ if (fZoomStartTime <=
fStartTime && fZoomEndTime >= fEndTime
) {
\r
entry.setZoomedEventList(null);
\r
entry.setZoomedEventList(null);
\r
-
return
;
\r
+
continue
;
\r
}
\r
if (fMonitor.isCanceled()) {
\r
break;
\r
}
\r
if (fMonitor.isCanceled()) {
\r
break;
\r
@@
-240,9
+240,9
@@
public class ResourcesView extends TmfView {
break;
\r
}
\r
entry.setZoomedEventList(zoomedEventList);
\r
break;
\r
}
\r
entry.setZoomedEventList(zoomedEventList);
\r
- redraw();
\r
}
\r
}
\r
}
\r
}
\r
+ redraw();
\r
}
\r
\r
public void cancel() {
\r
}
\r
\r
public void cancel() {
\r
This page took
0.02651 seconds
and
5
git commands to generate.