/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <cstddef> #include <cstdint> #include"mozilla/Attributes.h" #include"mozilla/EnumSet.h" /** * MemoryInfo is a helper class which describes the attributes and sizes of a * particular region of VM memory on Windows. It roughtly corresponds to the * values in a MEMORY_BASIC_INFORMATION struct, summed over an entire region or * memory.
*/
// Returns a MemoryInfo object containing the sums of all region sizes, // divided into Reserved, Committed, and Free, depending on their State // properties. // // The entire range of aSize bytes starting at aPtr must correspond to a // single allocation. This restriction is enforced in debug builds. static MemoryInfo Get(constvoid* aPtr, size_t aSize);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.