X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_clock_win32hpcount.h;h=f75659ce8af2be9adf60783d7ac687dd55e3e709;hb=d62300935546505305385dba525025a548c7b26b;hp=ec32accd48354f8e796d72105ca24a7899a85968;hpb=b3016b249333ac0ab0008d8c6c4d9029b2ff30c9;p=synfig.git diff --git a/ETL/trunk/ETL/_clock_win32hpcount.h b/ETL/trunk/ETL/_clock_win32hpcount.h index ec32acc..f75659c 100644 --- a/ETL/trunk/ETL/_clock_win32hpcount.h +++ b/ETL/trunk/ETL/_clock_win32hpcount.h @@ -36,7 +36,7 @@ #if defined(__GNUG__) && defined(__int64) #undef __int64 -#define __int64 long long int +#define __int64 long long int #endif /* === T Y P E D E F S ===================================================== */ @@ -72,7 +72,7 @@ public: protected: typedef __int64 timestamp; - + static void get_current_time(timestamp &x) { QueryPerformanceCounter((LARGE_INTEGER*)&x);} @@ -80,14 +80,14 @@ protected: static timestamp get_current_time() { timestamp ret; QueryPerformanceCounter((LARGE_INTEGER*)&ret); return ret; } - + static value_type timestamp_to_seconds(const timestamp &x) - { return precision()*x; } + { return precision()*x; } static timestamp seconds_to_timestamp(const value_type &x) - { return (timestamp)(x/precision()); } + { return (timestamp)(x/precision()); } }; _ETL_END_NAMESPACE