Home | History | Annotate | Download | only in python2.7

Lines Matching refs:Profile

6 # Based on prior profile module by Sjoerd Mullender...
33 __all__ = ["run", "runctx", "help", "Profile"]
45 # Note that an instance of Profile() is *not* needed to call them.
59 prof = Profile()
73 statement and filename have the same semantics as profile.run
75 prof = Profile()
88 print "Documentation for the profile module can be found "
111 class Profile:
280 if not isinstance(rframe, Profile.fake_frame):
385 code = self.fake_code('profile', 0, name)
433 # a profiler to profile a statement, given as a string.
449 # This method is more useful to profile a single function call.
479 # One alternative to profile-time calibration adjustments (i.e.,
500 if self.__class__ is not Profile:
516 # exactly how many profile events are generated (one call event, +
540 p = Profile()
569 print "mean stopwatch overhead per profile event =", mean
577 usage = "profile.py [-o output_file_path] [-s sort] scriptfile [arg] ..."