Ignore:
Timestamp:
Apr 21, 2008, 4:13:27 PM (17 years ago)
Author:
[email protected]
Message:

2008-04-21 Kevin McCullough <[email protected]>

Reviewed by Adam.

<rdar://problem/5770054> JavaScript profiler (10928)

  • When stop profiling is called we need to stop the timers on all the functions that are still running.
  • profiler/FunctionCallProfile.cpp: (KJS::FunctionCallProfile::didExecute): (KJS::FunctionCallProfile::stopProfiling):
  • profiler/FunctionCallProfile.h:
  • profiler/Profiler.cpp: (KJS::Profiler::stopProfiling):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/profiler/FunctionCallProfile.h

    r32234 r32354  
    5050        FunctionCallProfile* findChild(const UString& name);
    5151
     52        void stopProfiling();
     53
    5254        UString functionName() const { return m_functionName; }
    5355        double milliSecs() const { return m_timeSum; }
Note: See TracChangeset for help on using the changeset viewer.