summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2011-12-27 20:16:50 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2011-12-27 20:16:50 -0500
commite21daafb49a60f056152276cdb88634697ee3f05 (patch)
tree70bbc037b7ee191b9735feaf832dc82b7a69aded
parent782dfbe4414c29bc1d56b10dddfd1ea5334f8486 (diff)
Not sure what this iswip-mc
-rw-r--r--src/showst2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/showst2.cpp b/src/showst2.cpp
index 98f5c39..34c1701 100644
--- a/src/showst2.cpp
+++ b/src/showst2.cpp
@@ -215,7 +215,7 @@ int main(int argc, char** argv)
215 Task srch; 215 Task srch;
216 srch.pid = rec->hdr.pid; 216 srch.pid = rec->hdr.pid;
217 217
218 map<Task, set<Job> >::iterator iter = traceData.find(srch); 218 map<Task, set<Job> >::iterator iter = traceData.find(srch);
219 219
220 // force the task to be there. 220 // force the task to be there.
221 if(iter == traceData.end()) 221 if(iter == traceData.end())
@@ -223,9 +223,9 @@ int main(int argc, char** argv)
223 traceData[srch] = set<Job>(); 223 traceData[srch] = set<Job>();
224 iter = traceData.find(srch); 224 iter = traceData.find(srch);
225 iter->first.period = 0; 225 iter->first.period = 0;
226 } 226 }
227 227
228 if(iter != traceData.end()) 228 if(iter != traceData.end() && !(bool)rec->data.completion.forced)
229 { 229 {
230 Job jsrch; 230 Job jsrch;
231 jsrch.jid = rec->hdr.job; 231 jsrch.jid = rec->hdr.job;