Changeset 1039 for trunk/libtorrent/rak/timer.h
- Timestamp:
- 02/22/08 09:11:40 (4 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/rak/timer.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/rak/timer.h
r955 r1039 64 64 65 65 static timer current(); 66 static int64_t current_seconds() { return current().seconds(); } 67 static int64_t current_usec() { return current().usec(); } 66 68 static timer from_seconds(uint32_t seconds) { return rak::timer((uint64_t)seconds * 1000000); } 67 69 static timer from_milliseconds(uint32_t seconds) { return rak::timer((uint64_t)seconds * 1000); }
