[][src]Function chess_move_gen::perft_detailed

pub fn perft_detailed(
    position: &mut Position,
    depth: usize,
    multi_threading_enabled: bool
) -> MoveCounter

Returns the number of moves, captures, promotions, castles and en-passant captures at the provided depth if multi_threading_enabled is set to true search will run concurrently accross threads equal to your CPU count