<commit_before>#ifndef _TIMECTRL_H
#define _TIMECTRL_H

#include "state.h"

typedef struct
{
    int searching;
    int no_more_root_nodes;
    int wtime;
    int btime;
    int ponder;
    int depth;
    int nodes;
    int infinite;
    int search_time_left;
    struct timeval start_time;
} timecontrol_t;

extern timecontrol_t timecontrol;
void timectrl_go(state_t*, int, int, int, int, int, int);
void timectrl_alarm(int);
<commit_msg>Added sys/time.h header in timectrl.h<commit_after>#ifndef _TIMECTRL_H
#define _TIMECTRL_H

#include <sys/time.h>
#include "state.h"

typedef struct
{
    int searching;
    int no_more_root_nodes;
    int wtime;
    int btime;
    int ponder;
    int depth;
    int nodes;
    int infinite;
    int search_time_left;
    struct timeval start_time;
} timecontrol_t;

extern timecontrol_t timecontrol;
void timectrl_go(state_t*, int, int, int, int, int, int);
void timectrl_alarm(int);

{'fraction_non_alphanumeric': 0.08658008658008658, 'fraction_numerical': 0.0, 'mean_word_length': 3.8684210526315788, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '295603', 'n_tokens_mistral': 345, 'n_tokens_neox': 335, 'n_words': 92}