diff include/WriteFile.h @ 159:1e7db6610600

Increased buffer size, improves performances (but increases memory usage) for binary mode
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 18 Oct 2015 01:13:40 +0100
parents f36313cbb55d
children e4392164b458
line wrap: on
line diff
--- a/include/WriteFile.h	Wed Oct 14 17:55:58 2015 +0100
+++ b/include/WriteFile.h	Sun Oct 18 01:13:40 2015 +0100
@@ -59,7 +59,7 @@
     static bool staticConstructed;
 	static void staticConstructor();
 	static std::vector<WriteFile *> objAddrs;
-	void writeOutput(bool writeAll);
+	void writeOutput(bool flush);
 public:
 	WriteFile();
 	/**
@@ -111,7 +111,7 @@
     static int getNumInstances();
     static void writeAllHeaders();
     static void writeAllFooters();
-    static void writeAllOutputs();
+    static void writeAllOutputs(bool flush);
     static void startThread();
     static void stopThread();
     static void run();