- Timestamp:
- 08/24/10 07:51:02 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/common/include/platform/solaris/solarisplatform.h
r58 r96 113 113 }while (0); 114 114 115 #define GETCUSTOMNTP(result,value) \ 116 do { \ 117 struct timeval tv; \ 118 tv.tv_sec=value/CLOCKS_PER_SECOND; \ 119 tv.tv_usec=value-tv.tv_sec*CLOCKS_PER_SECOND; \ 120 result=(((uint64_t)tv.tv_sec + 2208988800U)<<32)|((((uint32_t)tv.tv_usec) << 12) + (((uint32_t)tv.tv_usec) << 8) - ((((uint32_t)tv.tv_usec) * 1825) >> 5)); \ 121 }while (0); 122 115 123 class SolarisPlatform 116 124 : public BasePlatform {
Note: See TracChangeset
for help on using the changeset viewer.
