mirror of https://github.com/rusefi/RomRaider.git
Added (msec) designation to the CSV log file Time column heading when not using absolute time.
git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@337 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
parent
3d682059a1
commit
53931233e7
|
@ -86,7 +86,7 @@ public class Settings implements Serializable {
|
|||
private Map<String, String> loggerPluginPorts;
|
||||
private boolean loggerRefreshMode = false;
|
||||
private byte loggerDestinationId = 0x10;
|
||||
private boolean fastPoll = false;
|
||||
private boolean fastPoll = true;
|
||||
private double loggerDividerLocation = 400;
|
||||
|
||||
|
||||
|
|
|
@ -80,7 +80,11 @@ public final class FileLoggerImpl implements FileLogger {
|
|||
}
|
||||
|
||||
public void writeHeaders(String headers) {
|
||||
writeText("Time" + headers);
|
||||
String timeHeader = "Time";
|
||||
if (!settings.isFileLoggingAbsoluteTimestamp()) {
|
||||
timeHeader = timeHeader + " (msec)";
|
||||
}
|
||||
writeText(timeHeader + headers);
|
||||
}
|
||||
|
||||
public void writeLine(String line, long timestamp) {
|
||||
|
|
Loading…
Reference in New Issue