Changeset 131327 in webkit
- Timestamp:
- Oct 15, 2012 11:48:00 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r131316 r131327 1 2012-10-15 Zoltan Horvath <zoltan@webkit.org> 2 3 [chromium] Provide used JSHeap size in chromium's DRT for pageloadtest memory measurements 4 https://bugs.webkit.org/show_bug.cgi?id=99288 5 6 Reviewed by Ryosuke Niwa. 7 8 Provide used JSHeap size as we did it for the Apple port. 9 10 * DumpRenderTree/chromium/TestEventPrinter.cpp: 11 (TestEventPrinter::handleDumpMemoryHeader): Add new function to print the JSHeap memory result. 12 * DumpRenderTree/chromium/TestEventPrinter.h: 13 (TestEventPrinter): handleDumpMemoryHeader declaration. 14 * DumpRenderTree/chromium/TestShell.cpp: 15 (TestShell::dump): Dump JSHeap value. 16 1 17 2012-10-15 George Staikos <staikos@webkit.org> 2 18 -
trunk/Tools/DumpRenderTree/chromium/TestEventPrinter.cpp
r122901 r131327 31 31 #include "config.h" 32 32 #include "TestEventPrinter.h" 33 #include "v8.h" 33 34 34 35 #include <stdio.h> … … 56 57 fprintf(stderr, "FAIL: Timed out waiting for notifyDone to be called\n"); 57 58 fprintf(stdout, "FAIL: Timed out waiting for notifyDone to be called\n"); 59 } 60 61 void TestEventPrinter::handleDumpMemoryHeader() const 62 { 63 v8::HeapStatistics heapStatistics; 64 printf("DumpJSHeap: %li\n", heapStatistics.used_heap_size()); 58 65 } 59 66 -
trunk/Tools/DumpRenderTree/chromium/TestEventPrinter.h
r122901 r131327 40 40 void handleTestHeader(const char* url) const; 41 41 void handleTimedOut() const; 42 void handleDumpMemoryHeader() const; 42 43 void handleTextHeader() const; 43 44 void handleTextFooter() const; -
trunk/Tools/DumpRenderTree/chromium/TestShell.cpp
r129826 r131327 576 576 dumpedAnything = true; 577 577 m_printer.handleTextHeader(); 578 m_printer.handleDumpMemoryHeader(); 578 579 // Text output: the test page can request different types of output 579 580 // which we handle here.
Note: See TracChangeset
for help on using the changeset viewer.