I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a3ba9683 authored by jrandom's avatar jrandom Committed by zzz
Browse files

24h time

parent 5ca2b971
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ import java.util.Map;
* favorite plotting tool)
*/
public class StatLogSplitter {
private static final String DATE_FORMAT = "yyyyMMdd hh:mm:ss.SSS";
private static final String DATE_FORMAT = "yyyyMMdd HH:mm:ss.SSS";
private static SimpleDateFormat _fmt = new SimpleDateFormat(DATE_FORMAT);
public static void main(String args[]) {
if (args.length != 1) {
......@@ -56,7 +56,8 @@ public class StatLogSplitter {
}
FileWriter out = (FileWriter)outputFiles.get(stat);
double s = (when.getTime()-first)/1000.0;
out.write(s + " " + val + "\n");
//long s = when.getTime();
out.write(s + " " + val + " [" + line + "]\n");
out.flush();
} catch (ParseException pe) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment