1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Combine definitions of SEC_TO_MICRO

This commit is contained in:
Nick Terrell
2017-11-30 19:40:53 -08:00
parent 9a2f6f477b
commit dab8cfa3c7
9 changed files with 1 additions and 8 deletions

View File

@ -216,6 +216,7 @@ static int g_utilDisplayLevel;
UTIL_STATIC U64 UTIL_getSpanTimeNano(UTIL_time_t clockStart, UTIL_time_t clockEnd) { return 1000000000ULL * (clockEnd - clockStart) / CLOCKS_PER_SEC; }
#endif
#define SEC_TO_MICRO 1000000
/* returns time span in microseconds */
UTIL_STATIC U64 UTIL_clockSpanMicro( UTIL_time_t clockStart )