equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
74 size_t committed_total(const MallocMemory* malloc, const VirtualMemory* vm) const; |
74 size_t committed_total(const MallocMemory* malloc, const VirtualMemory* vm) const; |
75 |
75 |
76 |
76 |
77 // Print summary total, malloc and virtual memory |
77 // Print summary total, malloc and virtual memory |
78 void print_total(size_t reserved, size_t committed) const; |
78 void print_total(size_t reserved, size_t committed) const; |
79 void print_malloc(size_t amount, size_t count) const; |
79 void print_malloc(size_t amount, size_t count, MEMFLAGS flag = mtNone) const; |
80 void print_virtual_memory(size_t reserved, size_t committed) const; |
80 void print_virtual_memory(size_t reserved, size_t committed) const; |
81 |
81 |
82 void print_malloc_line(size_t amount, size_t count) const; |
82 void print_malloc_line(size_t amount, size_t count) const; |
83 void print_virtual_memory_line(size_t reserved, size_t committed) const; |
83 void print_virtual_memory_line(size_t reserved, size_t committed) const; |
84 void print_arena_line(size_t amount, size_t count) const; |
84 void print_arena_line(size_t amount, size_t count) const; |