fix delta time calculation in PerformanceSearch_p for the 1. entry

(INITIALIZATION displayed absolute date, set delta to 0 for 1. entry)
This commit is contained in:
reger 2017-02-27 01:04:31 +01:00
parent 13c5c09518
commit 0aa0dd0b5b

View File

@ -51,7 +51,7 @@ public class PerformanceSearch_p {
prop.put("table_" + c + "_event", search.processName.name());
prop.put("table_" + c + "_comment", search.comment);
prop.putNum("table_" + c + "_count", search.resultCount);
prop.putNum("table_" + c + "_delta", event.getTime() - lastt);
prop.putNum("table_" + c + "_delta", (c == 0 ? lastt : event.getTime() - lastt));
prop.put("table_" + c + "_time", event.getFormattedDate());
prop.putNum("table_" + c + "_duration", search.duration);
c++;