<commit_before>/* SPDX-License-Identifier: LGPL-2.1 */

/*
 * ac_time.c - Time related functions
 *
 * Copyright (c) 2017		<NAME> <<EMAIL>>
 */

#define _GNU_SOURCE		/* struct timespec, nanosleep(2) */

#include <time.h>
#include <errno.h>

#include "include/libac.h"

/**
 * ac_time_tspec_diff - subtract two struct timespec's
 *
 * @delta: Filled out with the result
 * @end: struct timespec containing the end time<commit_msg>ac_time: Update copyright years<commit_after>/* SPDX-License-Identifier: LGPL-2.1 */

/*
 * ac_time.c - Time related functions
 *
 * Copyright (c) 2017 - 2018	<NAME> <<EMAIL>>
 */

#define _GNU_SOURCE		/* struct timespec, nanosleep(2) */

#include <time.h>
#include <errno.h>

#include "include/libac.h"

/**
 * ac_time_tspec_diff - subtract two struct timespec's
 *
 * @delta: Filled out with the result
 * @end: struct timespec containing the end time
{'fraction_non_alphanumeric': 0.14512471655328799, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 3.8516483516483517, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5471583', 'n_tokens_mistral': 332, 'n_tokens_neox': 313, 'n_words': 85}