Rename current_time() to now()

Follow C++11 naming conventions.

No functional change.
This commit is contained in:
Marco Costalba
2012-09-02 16:39:01 +02:00
parent e6d8e74152
commit 5900ab76a0
6 changed files with 9 additions and 9 deletions

View File

@@ -201,7 +201,7 @@ void timed_wait(WaitCondition& sleepCond, Lock& sleepLock, int msec) {
int tm = msec;
#else
timespec ts, *tm = &ts;
uint64_t ms = Time::current_time().msec() + msec;
uint64_t ms = Time::now().msec() + msec;
ts.tv_sec = ms / 1000;
ts.tv_nsec = (ms % 1000) * 1000000LL;