1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 1998-2016. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20-ifndef(_memsup_hrl).
21-define(_memsup_hrl,true).
22%%% This file has to be kept consistent with ../c_src/memsup.h.
23%%% Keep consistence manually.
24
25%% Defines
26
27-define( SHOW_MEM , 1 ).
28-define( SHOW_SYSTEM_MEM , 2 ).
29-define( SHOW_SYSTEM_MEM_END , 8#0 ).
30%% tags for extended statistics
31-define( MEM_SYSTEM_TOTAL , 1 ).
32-define( MEM_TOTAL , 2 ).
33-define( MEM_FREE , 3 ).
34-define( MEM_LARGEST_FREE , 4 ).
35-define( MEM_NUMBER_OF_FREE , 5 ).
36%% extensions
37-define( MEM_BUFFERS , 6 ).
38-define( MEM_CACHED , 7 ).
39-define( MEM_SHARED , 8 ).
40-define( SWAP_TOTAL , 9 ).
41-define( SWAP_FREE , 10 ).
42-define( MEM_CACHED_X , 11 ).
43-define( MEM_AVAIL , 12 ).
44
45-endif.
46
47