<commit_before>/*
 * Copyright (C) 2012, Parrot Foundation.
 */

/*

=head1 NAME

src/platform/win32/num_cpus.c

=head1 DESCRIPTION

Returns the number of CPUs for win32 systems

=head2 Functions

=cut

*/

#include "parrot/parrot.h"

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif

/* HEADERIZER HFILE: none */

/*

=over 4

=item C<INTVAL Parrot_get_num_cpus(Parrot_Interp)>

Returns the number of CPUs
<commit_msg>[codingstd] Follow C-indent standard inside #ifdef.<commit_after>/*
 * Copyright (C) 2012, Parrot Foundation.
 */

/*

=head1 NAME

src/platform/win32/num_cpus.c

=head1 DESCRIPTION

Returns the number of CPUs for win32 systems

=head2 Functions

=cut

*/

#include "parrot/parrot.h"

#ifdef _WIN32
#  define WIN32_LEAN_AND_MEAN
#  include <windows.h>
#endif

/* HEADERIZER HFILE: none */

/*

=over 4

=item C<INTVAL Parrot_get_num_cpus(Parrot_Interp)>

Returns the number of CPUs

{'fraction_non_alphanumeric': 0.11171366594360087, 'fraction_numerical': 0.03470715835140998, 'mean_word_length': 4.185393258426966, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2109483', 'n_tokens_mistral': 391, 'n_tokens_neox': 364, 'n_words': 93}