<commit_before>#ifndef __TIMEUH_H
#define __TIMEUH_H
#include <time.h>

typedef struct {
    struct timespec begin, end;
} time_counter;

inline int get_begin_time(time_counter *tc, clockid_t clk_id){
    return clock_gettime(clk_id, &tc->begin);
}

inline int get_end_time(time_counter *tc, clockid_t clk_id){
    return clock_gettime(clk_id, &tc->end);
}

struct timespec time_diff(const time_counter *tc);
<commit_msg>Fini timer<commit_after>#ifndef __TIMEUH_H
#define __TIMEUH_H
#include <time.h>

typedef struct {
    struct timespec begin, end;
} time_counter;

static inline int get_begin_time(time_counter *tc, clockid_t clk_id){
    return clock_gettime(clk_id, &tc->begin);
}

static inline int get_end_time(time_counter *tc, clockid_t clk_id){
    return clock_gettime(clk_id, &tc->end);
}

struct timespec time_diff(const time_counter *tc);

{'fraction_non_alphanumeric': 0.10316529894490035, 'fraction_numerical': 0.0, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7611850', 'n_tokens_mistral': 321, 'n_tokens_neox': 312, 'n_words': 75}