Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Timeouts with standard high resolution clock #88

Open
Razican opened this issue Jun 9, 2016 · 1 comment
Open

Timeouts with standard high resolution clock #88

Razican opened this issue Jun 9, 2016 · 1 comment

Comments

@Razican
Copy link
Member

Razican commented Jun 9, 2016

We should use std::chrono::high_resolution_clock for timeouts, since it gives us a better easier and more standard duration counter. More info: http://www.cplusplus.com/reference/chrono/high_resolution_clock/

@Razican Razican added this to the 1.2 milestone Jun 9, 2016
@Razican
Copy link
Member Author

Razican commented Jun 10, 2016

Here we have an example of some code that will be on the next launch:

chrono::high_resolution_clock::time_point start = chrono::high_resolution_clock::now();

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant