strusBase  0.17
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 
Definition: platform.hpp:15