diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-07-30 05:49:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-07-30 05:49:58 +0000 |
commit | 78afe3fa82ffedaa2db9d6f89f9f357f8df1eb77 (patch) | |
tree | 41d5bb641e8f518a4b9fef0e0a33fea7b9eef96c /epan/app_mem_usage.h | |
parent | eb943806465e62d578488111a505b9a3c300f9a6 (diff) |
Add a routine to get application memory usage to epan.
svn path=/trunk/; revision=51023
Diffstat (limited to 'epan/app_mem_usage.h')
-rw-r--r-- | epan/app_mem_usage.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/epan/app_mem_usage.h b/epan/app_mem_usage.h new file mode 100644 index 0000000000..2092a2cc1d --- /dev/null +++ b/epan/app_mem_usage.h @@ -0,0 +1,29 @@ +/* + * app_mem_usage.h + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#ifndef __APP_MEM_USAGE_H__ +#define __APP_MEM_USAGE_H__ + +gsize get_total_mem_used_by_app(void); + +#endif /* APP_MEM_USAGE_H */
\ No newline at end of file |