strusBase
0.17
Main Page
Namespaces
Classes
Files
File List
File Members
include
strus
base
platform.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Patrick P. Frey
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
10
#ifndef _STRUS_PLATFORM_HPP_INCLUDED
11
#define _STRUS_PLATFORM_HPP_INCLUDED
12
13
namespace
strus {
14
namespace
platform {
15
enum
{
CacheLineSize
=64};
16
//... TODO: Probing of this constant
17
18
int
cores
();
19
}}
//namespace
20
21
#endif
22
strus::platform::cores
int cores()
strus::platform::CacheLineSize
Definition:
platform.hpp:15
Generated on Thu Jan 24 2019 11:57:05 for strusBase by
1.8.6