diff options
author | Evan Martin <martine@danga.com> | 2012-07-27 17:59:19 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-07-27 17:59:19 (GMT) |
commit | f7a22e3bc97fdeb87d930b7734680c481c6010bf (patch) | |
tree | 3e1e2df7ad9b7168a6f6ba17902e9141b957e8be /src/util.cc | |
parent | 34fdf02dd57fc7b92e61eeee2c2e6e031ed14477 (diff) | |
parent | 5d120a0ae4b139761d731d6d0bd70a92aee0fc61 (diff) | |
download | Ninja-f7a22e3bc97fdeb87d930b7734680c481c6010bf.zip Ninja-f7a22e3bc97fdeb87d930b7734680c481c6010bf.tar.gz Ninja-f7a22e3bc97fdeb87d930b7734680c481c6010bf.tar.bz2 |
Merge pull request #351 from syntheticpp/rate
print edges per second
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util.cc b/src/util.cc index 72553dc..ca05292 100644 --- a/src/util.cc +++ b/src/util.cc @@ -204,16 +204,6 @@ void SetCloseOnExec(int fd) { #endif // ! _WIN32 } -int64_t GetTimeMillis() { -#ifdef _WIN32 - // GetTickCount64 is only available on Vista or later. - return GetTickCount(); -#else - timeval now; - gettimeofday(&now, NULL); - return ((int64_t)now.tv_sec * 1000) + (now.tv_usec / 1000); -#endif -} const char* SpellcheckStringV(const string& text, const vector<const char*>& words) { |