54
54
static Profiler* profiler();
55
static CallIdentifier createCallIdentifier(JSGlobalData*, JSValuePtr, const UString& sourceURL, int lineNumber);
55
static CallIdentifier createCallIdentifier(JSGlobalData*, JSValue, const UString& sourceURL, int lineNumber);
57
57
void startProfiling(ExecState*, const UString& title);
58
58
PassRefPtr<Profile> stopProfiling(ExecState*, const UString& title);
61
61
void willExecute(ExecState*, const UString& sourceURL, int startingLineNumber);
63
63
void didExecute(ExecState*, const UString& sourceURL, int startingLineNumber);
65
65
const Vector<RefPtr<ProfileGenerator> >& currentProfiles() { return m_currentProfiles; };