mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
random updates
This commit is contained in:
parent
3a1aec52a6
commit
eb280d6cd8
1 changed files with 6 additions and 1 deletions
|
@ -94,10 +94,15 @@ version(Windows)
|
||||||
|
|
||||||
interval_t freq;
|
interval_t freq;
|
||||||
if (QueryPerformanceFrequency(&freq))
|
if (QueryPerformanceFrequency(&freq))
|
||||||
|
{
|
||||||
sm_freq = freq;
|
sm_freq = freq;
|
||||||
|
sm_fn = &_qpc;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
sm_freq = 1000;
|
sm_freq = 1000;
|
||||||
sm_fn = &_qtc;
|
sm_fn = &_qtc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue