<commit_before>#ifndef OCCA_TOOLS_HEADER
#define OCCA_TOOLS_HEADER

#include <iostream>
#include <stdlib.h>

#include <sys/stat.h>
#include <string.h>
#include <errno.h>

#if   OCCA_OS == LINUX_OS
#  include <sys/time.h>
#elif OCCA_OS == OSX_OS
#  include <CoreServices/CoreServices.h>
#  include <mach/mach_time.h>
#else
#  include <windows.h>
#endif

namespace occa {
  class kernelInfo;

  inline double currentTime(){
#if OCCA_OS == LINUX_OS

    timespec ct;
    clock_gettime(CLOCK_MONOTONIC, &ct);

    return (double) (ct.tv_sec + (1.0e-9 * ct.tv_nsec));

#elif OCCA_OS == OSX_OS
<commit_msg>Include required header for rmdir<commit_after>#ifndef OCCA_TOOLS_HEADER
#define OCCA_TOOLS_HEADER

#include <iostream>
#include <stdlib.h>

#include <sys/stat.h>
#include <string.h>
#include <errno.h>

#if   OCCA_OS == LINUX_OS
#  include <sys/time.h>
#  include <unistd.h>
#elif OCCA_OS == OSX_OS
#  include <CoreServices/CoreServices.h>
#  include <mach/mach_time.h>
#else
#  include <windows.h>
#endif

namespace occa {
  class kernelInfo;

  inline double currentTime(){
#if OCCA_OS == LINUX_OS

    timespec ct;
    clock_gettime(CLOCK_MONOTONIC, &ct);

    return (double) (ct.tv_sec + (1.0e-9 * ct.tv_nsec));

#elif OCCA_OS == OSX_OS

{'fraction_non_alphanumeric': 0.13526570048309178, 'fraction_numerical': 0.004830917874396135, 'mean_word_length': 4.451754385964913, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '2602988', 'n_tokens_mistral': 544, 'n_tokens_neox': 509, 'n_words': 110}