Skip to content
  • kmccullough@apple.com's avatar
    JavaScriptCore: · 6fc919da
    kmccullough@apple.com authored
    2008-05-19  Kevin McCullough  <kmccullough@apple.com>
    
            Reviewed by Adam.
    
            <rdar://problem/5770054> JavaScript profiler (10928)
            - Pass the exec state to profiler when calling startProfiling so that if
            profiling is started within an execution context that location is
            recorded correctly.
    
            * JavaScriptCore.exp:
            * profiler/ProfileNode.cpp:
            (KJS::ProfileNode::printDataInspectorStyle): Dump more info for debugging
            purposes.
            * profiler/Profiler.cpp:
            (KJS::Profiler::startProfiling):
            * profiler/Profiler.h:
    
    WebCore:
    
    2008-05-19  Kevin McCullough  <kmccullough@apple.com>
    
            Reviewed by Adam.
    
            <rdar://problem/5770054> JavaScript profiler (10928)
            - Send the executing context to the profiler so it can attribute time
            correctly to parent functions when calling profile() and profileEnd()
            while nested.
    
            * page/Console.cpp:
            (WebCore::Console::profile):
            (WebCore::Console::profileEnd):
            * page/Console.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6fc919da