Chess Engine
C++ chess engine with movegen, bitboards, and Arduino-friendly docs
Loading...
Searching...
No Matches
misc.cpp File Reference
#include "misc.h"
#include <chrono>
#include <cstdio>
#include <cstring>
#include <sys/select.h>
#include <sys/time.h>
#include <unistd.h>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Functions

int GetTimeMs ()
int InputWaiting ()
void ReadInput (S_SEARCHINFO *info)

Function Documentation

◆ GetTimeMs()

int GetTimeMs ( )

Definition at line 17 of file misc.cpp.

Referenced by PerftTest().

Here is the caller graph for this function:

◆ InputWaiting()

int InputWaiting ( )

Definition at line 26 of file misc.cpp.

Referenced by ReadInput().

Here is the caller graph for this function:

◆ ReadInput()

void ReadInput ( S_SEARCHINFO * info)

Definition at line 77 of file misc.cpp.

References InputWaiting(), S_SEARCHINFO::quit, S_SEARCHINFO::stopped, and TRUE.

Here is the call graph for this function: