2023-09-04 12:21:37 +02:00
|
|
|
/* Custom main() for Criterion.
|
2016-11-20 02:50:49 -05:00
|
|
|
*
|
2022-03-15 09:18:01 -04:00
|
|
|
* Author: Steffen Vogel <post@steffenvogel.de>
|
2022-03-15 09:28:57 -04:00
|
|
|
* SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-11-20 02:50:49 -05:00
|
|
|
*/
|
|
|
|
|
2021-08-10 10:12:48 -04:00
|
|
|
#include <villas/node/memory.hpp>
|
|
|
|
|
|
|
|
using namespace villas::node;
|
2017-03-12 23:16:33 -03:00
|
|
|
|
2018-08-13 14:58:52 +02:00
|
|
|
void init_memory() {
|
2020-09-10 11:11:42 +02:00
|
|
|
int ret __attribute__((unused));
|
2021-08-10 10:12:48 -04:00
|
|
|
ret = memory::init(DEFAULT_NR_HUGEPAGES);
|
2018-08-13 14:58:52 +02:00
|
|
|
}
|