| 53 | #include <windows.h> |
| 54 | #include <time.h> |
| 55 | double timeStampsec() |
| 56 | { |
| 57 | static LARGE_INTEGER frequency; |
| 58 | if (frequency.QuadPart == 0) |
| 59 | QueryPerformanceFrequency(&frequency); |
| 60 | |
| 61 | LARGE_INTEGER now; |
| 62 | QueryPerformanceCounter(&now); |
| 63 | return now.QuadPart / double(frequency.QuadPart); |
| 64 | } |
| 65 | #endif |
| 66 | bool g_bAbortCompression = false; // If set true current compression will abort |
| 67 |