We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3db8ad commit fd9b977Copy full SHA for fd9b977
src/main/java/com/tagtraum/perf/gcviewer/exp/impl/CSVTSDataWriter.java
@@ -36,8 +36,11 @@ public void write(GCModel model) throws IOException {
36
// Since this data writer is only concerned with one line per gc entry, don't write two like the others.
37
38
// If the true timestamp is present, output the unix timestamp
39
- if (model.hasCorrectTimestamp()) {
+ if (model.hasDateStamp()) {
40
out.print(event.getDatestamp().getTime());
41
+ } else if (model.hasCorrectTimestamp()) {
42
+ // we have the timestamps therefore we can correct it with the pause time
43
+ out.print((event.getTimestamp() - event.getPause()));
44
} else {
45
out.print(event.getTimestamp());
46
}
0 commit comments