summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-29 14:12:03 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-15 20:22:27 (GMT)
commitc0c5ef9bffb0130e169aeddcb8487b670c6b56fe (patch)
tree229e624ce902d6f1cf4204c8a55a5abdee73daa6 /src/util.h
parent638b0336e98af65240c1d0d66c5e0d9e5b800d9e (diff)
downloadNinja-c0c5ef9bffb0130e169aeddcb8487b670c6b56fe.zip
Ninja-c0c5ef9bffb0130e169aeddcb8487b670c6b56fe.tar.gz
Ninja-c0c5ef9bffb0130e169aeddcb8487b670c6b56fe.tar.bz2
print edges per second
prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util.h b/src/util.h
index 82f4850..b108c25 100644
--- a/src/util.h
+++ b/src/util.h
@@ -53,11 +53,6 @@ int ReadFile(const string& path, string* contents, string* err);
/// Mark a file descriptor to not be inherited on exec()s.
void SetCloseOnExec(int fd);
-/// Get the current time as relative to some epoch.
-/// Epoch varies between platforms; only useful for measuring elapsed
-/// time.
-int64_t GetTimeMillis();
-
/// Given a misspelled string and a list of correct spellings, returns
/// the closest match or NULL if there is no close enough match.
const char* SpellcheckStringV(const string& text, const vector<const char*>& words);