Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#42 Task Statistics View - OPEN ERROR

open
nobody
None
5
2009-03-11
2009-03-11
Takaaki Nakamura
No

1.Start TimeDoctor

2.Open sample.tdi

3.Drag QUEUES's line into TASKS section

4.Window > Show View > Task Statistics

error occurs

my approach:

com.nxp.timedoctor.core.model.statistics.TraceStatistic.java
---
private void createContents() {
Section tasks = traceModel.getSections().getSection(LineType.TASKS);
if (tasks != null) {
for (SampleLine line : tasks.getLines()) {
//-----------------------------------------
if(line.getType() == LineType.TASKS
|| line.getType() == LineType.ISRS
|| line.getType() == LineType.AGENTS){
//expected
}else{
continue;
}
//-----------------------------------------
Statistic task = new TaskStatistic(this, traceModel, line);
addChild(task);
}
}
}
---

Discussion