// Copyright 2013 Google Inc. All Rights Reserved. // // Clock - implemented using the standard linux time library #include "clock.h" #include namespace wvcdm { int64_t GetCurrentTime() { struct timeval tv; tv.tv_sec = tv.tv_usec = 0; gettimeofday(&tv, NULL); return tv.tv_sec; } }; // namespace wvcdm