Home | History | Annotate | Download | only in JavaScriptCore

Lines Matching full:profile

1940         * profiler/Profile.h:
1941 (KJS::Profile::head):
2050 * profiler/Profile.cpp: Removed old commented out includes.
2051 * profiler/Profile.h: The m_head is needed by the HeavyProfile so it
2144 Profile. After it finishes the Profile can be sorted and have other
2150 * profiler/Profile.cpp: Removed code related to the gather stage of a
2151 Profile's creation.
2152 (KJS::Profile::create):
2153 (KJS::Profile::Profile):
2154 * profiler/Profile.h: Ditto.
2155 (KJS::Profile::title):
2156 (KJS::Profile::callTree):
2157 (KJS::Profile::setHead):
2159 handle the stage of creating a Profile. Once the Profile is finished
2171 (KJS::ProfileGenerator::profile):
2177 of the Profile.
2180 (KJS::Profiler::didFinishAllExecution): It is here that the Profile is
2181 handed off to its client and the Profile Generator is no longer needed.
2189 * profiler/TreeProfile.cpp: Use Profile's new interface.
2566 * profiler/Profile.cpp: By default we create a TreeProfile.
2567 (KJS::Profile::create):
2568 * profiler/Profile.h: Changes to the Profile class to make it amenable
2570 (KJS::Profile::~Profile):
4027 * profiler/Profile.cpp:
4028 (KJS::Profile::Profile): Initialize m_stoppedCallDepth to zero.
4029 (KJS::Profile::stopProfiling): Set the current node to the parent,
4031 (KJS::Profile::removeProfile): Increment m_stoppedCallDepth to
4032 account for didExecute not being called for profile.
4033 (KJS::Profile::willExecute): Increment m_stoppedCallDepth if stopped.
4034 (KJS::Profile::didExecute): Decrement m_stoppedCallDepth if stopped and
4036 * profiler/Profile.h: Added stoppedProfiling().
4272 * profiler/Profile.cpp:
4273 (KJS::Profile::removeProfileStart): No longer take profile's time from
4276 (KJS::Profile::removeProfileEnd): Ditto for profileEnd.
4277 (KJS::Profile::didExecute): Cleaned up the execution order and correctly
4868 Use member function pointers for the Profile::forEach function.
4874 * profiler/Profile.cpp:
4875 (KJS::Profile::forEach): Use a member function pointer.
4876 * profiler/Profile.h:
4877 (KJS::Profile::sortTotalTimeDescending): Pass a function pointer.
4878 (KJS::Profile::sortTotalTimeAscending): Ditto.
4879 (KJS::Profile::sortSelfTimeDescending): Ditto.
4880 (KJS::Profile::sortSelfTimeAscending): Ditto.
4881 (KJS::Profile::sortCallsDescending): Ditto.
4901 and stopping a profile from the Develop menu. Also prevents
4907 * profiler/Profile.cpp:
4908 (KJS::Profile::stopProfiling): If the current node is already the head
4910 (KJS::Profile::didExecute): Move the code of setupCurrentNodeAsStopped
4913 (KJS::Profile::setupCurrentNodeAsStopped): Removed.
4914 * profiler/Profile.h: Removed setupCurrentNodeAsStopped.
4928 * profiler/Profile.cpp:
4929 (KJS::Profile::removeProfileStart):
4930 (KJS::Profile::removeProfileEnd):
4944 stopProfiling() we cannot assert that console.profile() and
4945 console.profileEnd() will be in the profile tree.
4947 * profiler/Profile.cpp:
4948 (KJS::Profile::removeProfileStart):
4949 (KJS::Profile::removeProfileEnd):
4957 - Now we profile one more stack frame up from the last frame to allocate
4965 * profiler/Profile.cpp:
4966 (KJS::Profile::create): Moved from Profile.h since it was getting pretty
4968 (KJS::Profile::Profile): We now have a client, which is a listener who
4969 we will return this profile to, once it has actually finished.
4970 (KJS::Profile::stopProfiling): Instead of fully stopping the profiler
4972 (KJS::Profile::didFinishAllExecution): This is where the profiler
4974 (KJS::Profile::removeProfileStart): Don't use m_currentNode since it is
4976 (KJS::Profile::removeProfileEnd): Ditto.
4977 (KJS::Profile::willExecute): Don't profile new functions if we have
4979 (KJS::Profile::didExecute): Only record one more return as all the
4981 (KJS::Profile::setupCurrentNodeAsStopped): Sets the current node's time.
4982 * profiler/Profile.h: Added functions and variables for the above
4984 (KJS::Profile::client):
4989 (KJS::Profiler::stopProfiling): No longer return sthe profile.
4990 (KJS::Profiler::didFinishAllExecution): Now returns the profile to the
5483 <rdar://problem/5951534> JSProfiler: Don't profile console.profile()
5486 * profiler/Profile.cpp:
5487 (KJS::Profile::stopProfiling): Moved the creation of the (idle) node to
5488 the Profile (not ProfileNode). This makes sense since the Profile
5489 should be the one to modify the profile tree. Also each stopProfiling()
5492 (KJS::Profile::removeProfileStart): Removes the call to console.profile
5493 that started this profile.
5494 (KJS::Profile::removeProfileEnd): Removes the call to console.profileEnd
5495 that ended this profile.
5496 * profiler/Profile.h:
5498 the Profile object.
5501 facilitate readability and the removal of profile() and profileEnd()
5502 from the Profile tree.
5774 * profiler/Profile.cpp:
5775 (KJS::Profile::focus):
5776 (KJS::Profile::exclude): Subtract the selfTime from the totalTime of the
5788 * profiler/Profile.cpp:
5789 (KJS::Profile::willExecute):
5800 * profiler/Profile.cpp:
5805 (KJS::Profile::focus): Implemented focus without recursion.
5806 * profiler/Profile.h: Moved implementation into the definition file.
6345 * profiler/Profile.cpp:
7108 * profiler/Profile.cpp:
7109 (KJS::Profile::forEach): I added a traverseNextNodePreOrder() function
7112 (KJS::Profile::exclude): All new exclude that iteratively walks the tree
7113 * profiler/Profile.h:
7114 (KJS::Profile::focus): Add a null check for m_head.
7658 * profiler/Profile.cpp:
7661 (KJS::Profile::stopProfiling): Use foreach instead of recursion.
7662 (KJS::Profile::restoreAll): Ditto.
7663 * profiler/Profile.h:
7706 * profiler/Profile.cpp:
7707 (KJS::Profile::Profile):
7708 (KJS::Profile::stopProfiling):
7709 (KJS::Profile::didExecute):
7710 (KJS::Profile::forEach):
7711 (KJS::Profile::debugPrintData):
7712 (KJS::Profile::debugPrintDataSampleStyle):
7713 * profiler/Profile.h:
7714 (KJS::Profile::callTree):
7715 (KJS::Profile::totalTime):
7716 (KJS::Profile::sortTotalTimeDescending):
7717 (KJS::Profile::sortTotalTimeAscending):
7718 (KJS::Profile::sortSelfTimeDescending):
7719 (KJS::Profile::sortSelfTimeAscending):
7720 (KJS::Profile::sortCallsDescending):
7721 (KJS::Profile::sortCallsAscending):
7722 (KJS::Profile::sortFunctionNameDescending):
7723 (KJS::Profile::sortFunctionNameAscending):
7724 (KJS::Profile::focus):
7725 (KJS::Profile::exclude):
7726 (KJS::Profile::restoreAll):
7835 * profiler/Profile.cpp:
7836 (KJS::Profile::sort): This generic function will accept any of the
7838 * profiler/Profile.h: All of the sorting functions now call the new
7840 (KJS::Profile::sortTotalTimeDescending):
7841 (KJS::Profile::sortTotalTimeAscending):
7842 (KJS::Profile::sortSelfTimeDescending):
7843 (KJS::Profile::sortSelfTimeAscending):
7844 (KJS::Profile::sortCallsDescending):
7845 (KJS::Profile::sortCallsAscending):
7846 (KJS::Profile::sortFunctionNameDescending):
7847 (KJS::Profile::sortFunctionNameAscending):
7866 iterative algorithm in Profile.cpp.
8634 error, all profile stack frames are incorrect
8742 * profiler/Profile.cpp:
8743 (KJS::Profile::willExecute):
8744 (KJS::Profile::didExecute):
8745 * profiler/Profile.h:
8777 * profiler/Profile.cpp: Added a comment to explain a subtlety that only
8868 called, even if it was JS code, which notifies the profile on entry
8952 * profiler/Profile.cpp:
8953 (KJS::Profile::didExecute): Set the start time and then call didExecute
8978 Added Profile::restoreAll and added ProfileNode::restoreAll
8984 * profiler/Profile.h:
9021 profile node.
9026 * profiler/Profile.h:
9027 (KJS::Profile::exclude):
9073 * profiler/Profile.cpp:
9074 (KJS::Profile::willExecute):
9075 (KJS::Profile::didExecute): Because we do not get a good context when
9210 * profiler/Profile.cpp:
9211 (KJS::Profile::Profile): The current node starts at the head.
9212 (KJS::Profile::stopProfiling): The current node is cleared when profiling
9214 (KJS::Profile::willExecute): The current node either adds a new child or
9217 (KJS::Profile::didExecute): The current node finishes and returns its
9219 * profiler/Profile.h: Use a single callIdentifier instead of a vector
9221 * profiler/ProfileNode.cpp: Now profile nodes keep a reference to their
9288 profile node.
9293 * profiler/Profile.cpp: ProfileNodes now take a reference to the head of
9294 the profile tree to get up-to-date accurate total profile time.
9295 (KJS::Profile::Profile): Pass 0 for the head node.
9296 (KJS::Profile::stopProfiling): stopProfiling no longer needs the time
9299 (KJS::Profile::willExecute): Set the head node for each created node.
9300 * profiler/Profile.h:
9301 (KJS::Profile::focus): Instead of taking a CallIdentifier that the caller
15189 the same time. This can happen when you have nested console.profile()
15191 Vector of current profiles, instead of one. Second, a Profile needs
15196 This makes sure the correct profile is stopped. Passing a null UString
15197 as the title will stop the last profile for the matching ExecState.
15204 * profiler/Profile.cpp:
15205 (KJS::Profile::Profile): New constructor arguments for the
15207 (KJS::Profile::stopProfiling): Set the m_originatingGlobalExec to null.
15208 * profiler/Profile.h:
15209 (KJS::Profile::create): Additional arguments.
15210 (KJS::Profile::originatingGlobalExec): Return m_originatingGlobalExec.
15211 (KJS::Profile::pageGroupIdentifier): Return m_pageGroupIdentifier.
15213 (KJS::Profiler::findProfile): Added. Finds a Profile that matches
15216 a Profile with the ExecState and title. If not, create a new profile
15220 call stopProfiling and return the Profile after removing it
15223 m_currentProfiles and call a Profile function.
15289 profile node.
15293 * profiler/Profile.h:
15294 (KJS::Profile::focus):
15333 * profiler/Profile.cpp:
15334 (KJS::Profile::debugPrintData):
15335 (KJS::Profile::debugPrintDataSampleStyle):
15336 * profiler/Profile.h:
15376 * profiler/Profile.h: Now stopProfiling takes a time and bool as
15379 (KJS::Profile::stopProfiling):
15402 * profiler/Profile.cpp:
15403 (KJS::Profile::Profile): Initialize all 3 values.
15404 (KJS::Profile::willExecute): Use CallIdentifier struct.
15405 (KJS::Profile::didExecute): Ditto.
15406 * profiler/Profile.h: Ditto and remove unused function.
15442 * profiler/Profile.h:
15492 * profiler/Profile.h:
15493 (KJS::Profile::sortFileNameDescending):
15494 (KJS::Profile::sortFileNameAscending):
15547 * profiler/Profile.cpp:
15548 (KJS::Profile::willExecute):
15549 (KJS::Profile::didExecute):
15567 * profiler/Profile.h: Add the different ways a profile can be sorted.
15568 (KJS::Profile::sortTotalTimeDescending):
15569 (KJS::Profile::sortTotalTimeAscending):
15570 (KJS::Profile::sortSelfTimeDescending):
15571 (KJS::Profile::sortSelfTimeAscending):
15572 (KJS::Profile::sortCallsDescending):
15573 (KJS::Profile::sortCallsAscending):
15595 directoy on the Profile object after getting the Vector of them.
15624 know which profile to get the totalTime for the whole profile from without
15625 retaining a reference to the head profile or looking up the profile from
15629 profiles that are in the allProfiles() list and a profile is only added
15690 * profiler/Profile.h:
15691 (KJS::Profile::totalProfileTime):
15714 * profiler/Profile.cpp:
15715 (KJS::Profile::Profile):
15716 (KJS::Profile::willExecute):
15717 * profiler/Profile.h:
15718 (KJS::Profile::callTree):
15806 * profiler/Profile.h:
15807 (KJS::Profile::callTree):
15822 * profiler/Profile.cpp:
15823 (KJS::Profile::Profile):
15824 (KJS::Profile::willExecute):
15825 (KJS::Profile::didExecute):
15827 * profiler/Profile.h:
15828 (KJS::Profile::create):
15829 (KJS::Profile::title):
15830 (KJS::Profile::callTree):
16275 * JavaScriptCore.pri: Add profiler/Profile.cpp.
16284 * GNUmakefile.am: Add Profile.cpp in _sources
16298 -Add Profile class so that all profiles can be stored and retrieved by
16304 * profiler/Profile.cpp: Added. This class represents a single run of the
16306 (KJS::Profile::Profile):
16307 (KJS::Profile::willExecute):
16308 (KJS::Profile::didExecute):
16309 (KJS::Profile::printDataInspectorStyle):
16311 (KJS::Profile::printDataSampleStyle):
16312 * profiler/Profile.h: Added. Ditto
16313 (KJS::Profile::stopProfiling):
17266 -Only profile the page group that starts profiling to avoid profiling
17276 lexical global exec state and only profile if it matches the given page
17483 sampling profile.
17487 because console.profile() is a JS function and so was being profiled
17489 I would like to put the ASSERTs back and not profile the calls to
17490 console.profile() and console.profileEnd().
17686 (KJS::Profiler::stopProfiling): Stop collecting profile information.
26952 I did look at a profile for a while).