Platform/Memory Reporting: Difference between revisions

Jump to navigation Jump to search
Line 85: Line 85:
   MyString *gMyString;
   MyString *gMyString;
    
    
   class MyStringReporter MOZ_FINAL : public MemoryUniReporter
   class MyStringReporter MOZ_FINAL : public nsIMemoryReporter
   {
   {
     MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf)
     MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf)
Line 92: Line 92:
     NS_DECL_ISUPPORTS
     NS_DECL_ISUPPORTS
      
      
     NS_IMETHOD
     NS_METHOD
     CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData)
     CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData)
     {
     {
Confirmed users
1,345

edits

Navigation menu