[292397] Improve the search of Local UI model Process
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / controlflow / evProcessor / FlowTRangeBeforeUpdateHandlers.java
index c381ea6006e0c5abebe6d5fdde2ce032de44cd2c..cec3cc7ea1ecab199fba4179278e884a32eba95a 100644 (file)
@@ -64,8 +64,8 @@ class FlowTRangeBeforeUpdateHandlers {
                                        // it
                                        // may change
                                        TimeRangeEventProcess localProcess = procContainer
-                                                       .findProcess(stateProcess.getPid(), stateProcess
-                                                                       .getCreation_time().getValue(), traceId);
+                                                       .findProcess(stateProcess.getPid(), stateProcess.getCpu(), traceId, stateProcess
+                                    .getCreation_time().getValue());
 
                                        // Add process to process list if not present
                                        if (localProcess == null) {
@@ -147,9 +147,8 @@ class FlowTRangeBeforeUpdateHandlers {
                                                // hashed_process_data =
                                                // processlist_get_process_data(process_list,pid_out,process->cpu,&birth,trace_num);
                                                TimeRangeEventProcess localProcess = procContainer
-                                                               .findProcess(process.getPid(), process
-                                                                               .getCreation_time().getValue(), traceSt
-                                                                               .getTraceId());
+                                                               .findProcess(process.getPid(), process.getCpu(), traceSt
+                                                                               .getTraceId(), process.getCreation_time().getValue());
 
                                                // Add process to process list if not present
                                                // Replace C Call :
@@ -183,9 +182,8 @@ class FlowTRangeBeforeUpdateHandlers {
                                                // processlist_get_process_data(process_list, pid_in,
                                                // tfs->cpu, &birth, trace_num);
                                                TimeRangeEventProcess localProcess = procContainer
-                                                               .findProcess(process.getPid(), process
-                                                                               .getCreation_time().getValue(), traceSt
-                                                                               .getTraceId());
+                                                               .findProcess(process.getPid(), process.getCpu(), traceSt
+                                                                               .getTraceId(), process.getCreation_time().getValue());
 
                                                // Add process to process list if not present
                                                // Replace C Call :
@@ -258,9 +256,8 @@ class FlowTRangeBeforeUpdateHandlers {
                                        // processlist_get_process_data(process_list, pid,
                                        // process->cpu, &birth,trace_num);
                                        TimeRangeEventProcess localProcess = procContainer
-                                                       .findProcess(process.getPid(), process
-                                                                       .getCreation_time().getValue(), traceSt
-                                                                       .getTraceId());
+                                                       .findProcess(process.getPid(), process.getCpu(), traceSt
+                                                                       .getTraceId(), process.getCreation_time().getValue());
 
                                        // Add process to process list if not present
                                        // Replace C Call :
@@ -327,9 +324,9 @@ class FlowTRangeBeforeUpdateHandlers {
                                                // hashed_process_data =
                                                // processlist_get_process_data(process_list,pid,process->cpu,&birth,trace_num);
                                                TimeRangeEventProcess localProcess = procContainer
-                                                               .findProcess(process.getPid(), process
-                                                                               .getCreation_time().getValue(), traceSt
-                                                                               .getTraceId());
+                                                               .findProcess(process.getPid(), process.getCpu(), traceSt
+                                                                               .getTraceId(), process
+                                        .getCreation_time().getValue());
 
                                                // This is as it was in the C ... ?
                                                if (localProcess == null) {
@@ -396,9 +393,9 @@ class FlowTRangeBeforeUpdateHandlers {
                                        // hashed_process_data =
                                        // processlist_get_process_data(process_list,pid,process->cpu,&birth,trace_num);
                                        TimeRangeEventProcess localProcess = procContainer
-                                                       .findProcess(process.getPid(), process
-                                                                       .getCreation_time().getValue(), traceSt
-                                                                       .getTraceId());
+                                                       .findProcess(process.getPid(), process.getCpu(), traceSt
+                                                                       .getTraceId(), process
+                                    .getCreation_time().getValue());
 
                                        // Add process to process list if not present
                                        if (localProcess == null) {
This page took 0.025526 seconds and 5 git commands to generate.