summaryrefslogtreecommitdiffstats
path: root/Lib/hotshot
Commit message (Collapse)AuthorAgeFilesLines
* Added docstrings to the Profile class.Fred Drake2002-04-161-0/+31
| | | | | Avoid adding Python wrappers around the underlying C profiler if possible; the extra layer of calls can lead to confusion in interpreting the logs.
* Set/update self.cwd properly.Fred Drake2002-03-121-14/+51
|
* Update to reflect changes to the low-level logreader: share the infoFred Drake2001-10-291-10/+19
| | | | | | dictionary instead of building a new one, and provide an overridable method to allow subclasses to catch ADD_INFO records that are not part of the initial block of ADD_INFO records created by the profiler itself.
* Allow user code to call the addinfo() method on the profiler object.Fred Drake2001-10-291-0/+3
|
* pstats-compatible analysis module.Fred Drake2001-10-151-0/+93
| | | | | hotshot.stats.load(logfilename) returns a pstats.Stats instance, which is about as compatible as it gets.
* runcall(): Expose the return value of the profiled function; this allowsFred Drake2001-10-151-1/+1
| | | | | | changing an application to collect profile data on one part of the app while still making use of the profiled component, without relying on side effects.
* Avoid deep recursion when reading the header of the log file.Fred Drake2001-10-151-28/+39
| | | | | Add support for extracting function names from the log file, keeping the extract-names-from-sources support as a fallback.
* When we reach the end of the log file, close the logreader object.Fred Drake2001-10-131-1/+3
|
* Preliminary user-level interface to HotShot. We still need the analysisFred Drake2001-10-122-0/+173
tool; look for that on Monday.