Programming A Chess Engine in C Part 50 - Getting the time in milliseconds

preview_player
Показать описание
We chatter on this Discord server:

Video series programming a chess engine in C

But really, it's for fun and for free.
Рекомендации по теме
Комментарии
Автор

On linux too need to include <sys/time.h> instead of <time.h> as struct timeval is defined in <sys/time.h>

anilkumarsingh
Автор

I haven't been following the videos, but I want to say thank you, as this helped me massively after searching for days for a way to count milliseconds, and this solution worked very easily! So, Thank you very much!

StarGazerTom
Автор

Hello, Without debug mode what is you measured time? I was wondering because I got 30ms.

balazsio
welcome to shbcf.ru