Permalink
Browse files

fix delta time calculation in PerformanceSearch_p for the 1. entry

(INITIALIZATION displayed absolute date, set delta to 0 for 1. entry)
  • Loading branch information...
reger24 committed Feb 27, 2017
1 parent 13c5c09 commit 0aa0dd0b5b9fd110f345c874ee03123929f39edc
Showing with 1 addition and 1 deletion.
  1. +1 −1 htroot/PerformanceSearch_p.java
@@ -51,7 +51,7 @@ public static serverObjects respond(@SuppressWarnings("unused") final RequestHea
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++;

0 comments on commit 0aa0dd0

Please sign in to comment.