mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
random updates
This commit is contained in:
parent
3a1aec52a6
commit
eb280d6cd8
1 changed files with 6 additions and 1 deletions
|
@ -94,11 +94,16 @@ 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:
|
||||||
/** Starts measurement
|
/** Starts measurement
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue