Show
Ignore:
Timestamp:
02/22/08 09:11:40 (4 years ago)
Author:
rakshasa
Message:

* Added system.time{,_seconds,_usec} commands.

* Cleaned up XMLRPC handling and added support for empty targets so it
will handle print and cat properly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/rak/timer.h

    r955 r1039  
    6464 
    6565  static timer        current(); 
     66  static int64_t      current_seconds()                   { return current().seconds(); } 
     67  static int64_t      current_usec()                      { return current().usec(); } 
    6668  static timer        from_seconds(uint32_t seconds)      { return rak::timer((uint64_t)seconds * 1000000); } 
    6769  static timer        from_milliseconds(uint32_t seconds) { return rak::timer((uint64_t)seconds * 1000); }