Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
This commit is contained in:
@@ -53,11 +53,11 @@
|
||||
namespace mozilla {
|
||||
namespace scache {
|
||||
|
||||
class StartupCacheMappingReporter MOZ_FINAL : public MemoryReporterBase
|
||||
class StartupCacheMappingReporter MOZ_FINAL : public MemoryUniReporter
|
||||
{
|
||||
public:
|
||||
StartupCacheMappingReporter()
|
||||
: MemoryReporterBase("explicit/startup-cache/mapping",
|
||||
: MemoryUniReporter("explicit/startup-cache/mapping",
|
||||
KIND_NONHEAP, UNITS_BYTES,
|
||||
"Memory used to hold the mapping of the startup cache from file. This memory "
|
||||
"is likely to be swapped out shortly after start-up.")
|
||||
@@ -71,11 +71,11 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
class StartupCacheDataReporter MOZ_FINAL : public MemoryReporterBase
|
||||
class StartupCacheDataReporter MOZ_FINAL : public MemoryUniReporter
|
||||
{
|
||||
public:
|
||||
StartupCacheDataReporter()
|
||||
: MemoryReporterBase("explicit/startup-cache/data", KIND_HEAP, UNITS_BYTES,
|
||||
: MemoryUniReporter("explicit/startup-cache/data", KIND_HEAP, UNITS_BYTES,
|
||||
"Memory used by the startup cache for things other than the file mapping.")
|
||||
{}
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user