bors 0e8a1a40f2 Auto merge of #1294 - JOE1994:windows_instant, r=RalfJung
Add support for 'std::time::Instant' in Windows

Add support for creating `std::time::Instant` in Windows

Includes shims for `QueryPerformanceCounter` & `QueryPerformanceFrequency` in Windows, which are both called in Windows when `std::time::Instant` is created.

Windows docs page ["Acquiring high-resolution time stamps"](https://docs.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps) was helpful in learning how `QueryPerformanceCounter` & `QueryPerformanceFrequency` work.

closes #1291
2020-04-03 06:36:15 +00:00
..
2019-09-29 11:43:50 -04:00
2020-03-30 10:23:16 +02:00
2019-02-26 18:37:45 +00:00
2020-03-23 23:53:54 +01:00
2020-01-25 13:48:26 -06:00
2019-02-26 18:37:45 +00:00
2020-03-22 08:55:39 +01:00
2019-02-22 17:42:01 +01:00
2019-04-08 01:26:52 +02:00
2019-11-25 15:08:47 +01:00
2019-02-26 18:37:45 +00:00
2019-02-26 18:37:45 +00:00
2019-11-07 09:17:40 +01:00
2019-09-20 08:53:35 +02:00
2020-03-27 08:43:08 -04:00
2020-03-06 08:21:53 -05:00
2019-04-21 12:36:17 +02:00
2019-11-25 15:08:47 +01:00
2019-02-26 18:37:45 +00:00
2019-02-09 15:52:59 +01:00
2019-02-09 15:52:59 +01:00
2019-02-13 10:07:31 +01:00
2020-04-02 11:45:17 +02:00
2019-07-26 10:14:44 +02:00
2019-02-26 18:37:45 +00:00
2019-02-26 18:37:45 +00:00
2020-01-19 10:03:18 -06:00
2019-02-26 18:37:45 +00:00
2020-01-19 10:03:18 -06:00
2019-02-26 18:37:45 +00:00
2019-02-26 18:37:45 +00:00
2019-06-30 15:31:14 +01:00
2019-02-26 18:37:45 +00:00
2019-11-08 12:43:26 +01:00
2019-08-04 16:44:32 -04:00
2020-03-22 08:55:39 +01:00
2019-11-05 20:17:35 +01:00
2019-08-18 11:34:09 +02:00
2019-02-26 18:37:45 +00:00
2019-02-26 18:37:45 +00:00
2019-08-18 11:34:09 +02:00
2019-02-06 11:47:32 +01:00
2020-01-19 10:03:18 -06:00
2019-06-30 16:45:41 +02:00
2019-06-02 22:16:02 +02:00
2019-02-15 10:41:12 +01:00
2019-02-15 10:41:12 +01:00