replace os.clock with preciser implementation

This commit is contained in:
MihailRis 2026-05-12 02:47:47 +03:00
parent be4dda3646
commit c7f35dd6be
3 changed files with 32 additions and 0 deletions

View file

@ -25,4 +25,6 @@ namespace platform {
bool open_url(const std::string& url);
/// @brief Check if stdin has input
bool stdin_has_data();
/// @brief Precise wrapper for std::clock (especially for Windows)
double clock();
}