aboutsummaryrefslogblamecommitdiff
path: root/src/common/tuklib_cpucores.h
blob: edff9395e41ccae976bf9903cdf6900aa8ce18cb (plain) (tree)
1
2
3
4
5
6
7
8
9

                                






                                                                               












                                                                               
// SPDX-License-Identifier: 0BSD

///////////////////////////////////////////////////////////////////////////////
//
/// \file       tuklib_cpucores.h
/// \brief      Get the number of CPU cores online
//
//  Author:     Lasse Collin
//
///////////////////////////////////////////////////////////////////////////////

#ifndef TUKLIB_CPUCORES_H
#define TUKLIB_CPUCORES_H

#include "tuklib_common.h"
TUKLIB_DECLS_BEGIN

#define tuklib_cpucores TUKLIB_SYMBOL(tuklib_cpucores)
extern uint32_t tuklib_cpucores(void);

TUKLIB_DECLS_END
#endif