| 42 | #include <windows.h> |
| 43 | #include <time.h> |
| 44 | double timeStampsec() |
| 45 | { |
| 46 | static LARGE_INTEGER frequency; |
| 47 | if (frequency.QuadPart == 0) |
| 48 | QueryPerformanceFrequency(&frequency); |
| 49 | |
| 50 | LARGE_INTEGER now; |
| 51 | QueryPerformanceCounter(&now); |
| 52 | return now.QuadPart / double(frequency.QuadPart); |
| 53 | } |
| 54 | #endif |
| 55 | |
| 56 | bool g_bAbortCompression = false; // If set true current compression will abort |