My Project
stats.c File Reference

Statistics. More...

#include "stats.h"
#include "options.h"
#include "search.h"
#include "ybwc.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void statistics_init (void)
 Intialization of the statistics.
 
void statistics_sum_nodes (Search *search)
 Cumulate node counts from the last search.
 
void statistics_print (FILE *f)
 Print statistics.
 

Variables

Statistics statistics
 

Detailed Description

Statistics.

The purpose of these functions is to gather performance statistics on some algorithms or code.

Date
1998 - 2017
Author
Richard Delorme
Version
4.4

Function Documentation

◆ statistics_init()

void statistics_init ( void )

Intialization of the statistics.

◆ statistics_print()

void statistics_print ( FILE * f)

Print statistics.

◆ statistics_sum_nodes()

void statistics_sum_nodes ( Search * search)

Cumulate node counts from the last search.

Parameters
searchLast search.

Variable Documentation

◆ statistics

Statistics statistics