1 | /* |
2 | * This Source Code Form is subject to the terms of the Mozilla Public |
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
5 | * |
6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
7 | */ |
8 | |
9 | #ifndef _SYS_H_ |
10 | #define _SYS_H_ |
11 | |
12 | mal_export str SYSgetmem_cursize(lng *num); |
13 | mal_export str SYSgetmem_maxsize(lng *num); |
14 | mal_export str SYSsetmem_maxsize(void *ret, const lng *num); |
15 | mal_export str SYSgetvm_cursize(lng *num); |
16 | mal_export str SYSgetvm_maxsize(lng *num); |
17 | mal_export str SYSsetvm_maxsize(void *ret, const lng *num); |
18 | mal_export str SYSioStatistics(bat *ret, bat *ret2); |
19 | mal_export str SYScpuStatistics(bat *ret, bat *ret2); |
20 | mal_export str SYSmemStatistics(bat *ret, bat *ret2); |
21 | mal_export str SYSmem_usage(bat *ret, bat *ret2, const lng *minsize); |
22 | mal_export str SYSvm_usage(bat *ret, bat *ret2, const lng *minsize); |
23 | mal_export str SYSgdkEnv(bat *ret, bat *ret2); |
24 | mal_export str SYSgdkThread(bat *ret, bat *ret2); |
25 | |
26 | #endif |
27 | |