Revision 17a06e54 src/eventlog/sequencechartfacade.cc

View differences:

src/eventlog/sequencechartfacade.cc
1099 1099
            overlapping += event->getComplexity();
1100 1100
        }
1101 1101
    }
1102
    printf("overlapping %i %f %i %i\n", overlapping, overlapping / (event->getComplexity() * 1.0), event->getComplexity(), event->getEventNumber());
1103 1102
    return overlapping / (event->getComplexity() * 1.0);
1104 1103
}
1105 1104

  
......
1114 1113
            maxOverlapping = overlapping;
1115 1114
        }
1116 1115
    }
1117
    printf("maxoverlapping %i \n", maxOverlapping);
1118 1116
    return maxOverlapping;
1119 1117
}
1120 1118

  
......
1137 1135
    return overlapping / maximumOverlapping;
1138 1136
}
1139 1137

  
1138
bool SequenceChartFacade::isOverlappingInRealTimeDomain(ptr_t eventPtr1, ptr_t eventPtr2) {
1139
    long eventProcessingTime1 = ((IEvent*)eventPtr1)->getEarliestProcessingTime();
1140
    long eventStartTime1 = ((IEvent*)eventPtr1)->getEarliestStartTime();
1141
    long eventProcessingTime2 = ((IEvent*)eventPtr2)->getEarliestProcessingTime();
1142
    long eventStartTime2 = ((IEvent*)eventPtr2)->getEarliestStartTime();
1143

  
1144
    return !(eventProcessingTime1 < eventStartTime2 || eventProcessingTime2 < eventStartTime1);
1145
}

Also available in: Unified diff