Changeset 127840 in webkit


Ignore:
Timestamp:
Sep 7, 2012, 1:08:37 AM (13 years ago)
Author:
timothy_horton@apple.com
Message:

Scrolling performance logging should use WTFLogAlways instead of printf
https://bugs.webkit.org/show_bug.cgi?id=96080

Reviewed by Dan Bernstein.

Use WTF logging facilities instead of printf() for scrolling performance logging.

  • page/scrolling/mac/ScrollingTreeNodeMac.mm:

(WebCore::ScrollingTreeNodeMac::logExposedUnfilledArea):

  • platform/graphics/ca/mac/WebTileLayer.mm:

(-[WebTileLayer logFilledFreshTile]):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r127838 r127840  
     12012-09-07  Tim Horton  <timothy_horton@apple.com>
     2
     3        Scrolling performance logging should use WTFLogAlways instead of printf
     4        https://bugs.webkit.org/show_bug.cgi?id=96080
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Use WTF logging facilities instead of printf() for scrolling performance logging.
     9
     10        * page/scrolling/mac/ScrollingTreeNodeMac.mm:
     11        (WebCore::ScrollingTreeNodeMac::logExposedUnfilledArea):
     12        * platform/graphics/ca/mac/WebTileLayer.mm:
     13        (-[WebTileLayer logFilledFreshTile]):
     14
    1152012-09-07  Luke Macpherson   <macpherson@chromium.org>
    216
  • trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeNodeMac.mm

    r127837 r127840  
    339339
    340340    if (unfilledArea)
    341         printf("SCROLLING: Exposed tileless area. Time: %f Unfilled Pixels: %u\n", WTF::monotonicallyIncreasingTime(), unfilledArea);
     341        WTFLogAlways("SCROLLING: Exposed tileless area. Time: %f Unfilled Pixels: %u\n", WTF::monotonicallyIncreasingTime(), unfilledArea);
    342342}
    343343
  • trunk/Source/WebCore/platform/graphics/ca/mac/WebTileLayer.mm

    r125156 r127840  
    7878
    7979    if ([self repaintCount] == 1 && !visiblePart.isEmpty())
    80         printf("SCROLLING: Filled visible fresh tile. Time: %f Unfilled Pixels: %u\n", WTF::monotonicallyIncreasingTime(), _tileCache->blankPixelCount());
     80        WTFLogAlways("SCROLLING: Filled visible fresh tile. Time: %f Unfilled Pixels: %u\n", WTF::monotonicallyIncreasingTime(), _tileCache->blankPixelCount());
    8181}
    8282
Note: See TracChangeset for help on using the changeset viewer.