Searched refs:lineevents (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/hotshot/ |
D | __init__.py | 11 def __init__(self, logfn, lineevents=0, linetimings=1): argument 12 self.lineevents = lineevents and 1 or 0 13 self.linetimings = (linetimings and lineevents) and 1 or 0 15 logfn, self.lineevents, self.linetimings)
|
/external/python/cpython2/Lib/test/ |
D | test_hotshot.py | 44 def new_profiler(self, lineevents=0, linetimings=1): argument 46 return hotshot.Profile(self.logfn, lineevents, linetimings) 102 self.run_test(g, events, self.new_profiler(lineevents=1))
|
/external/python/cpython2/Modules/ |
D | _hotshot.c | 81 int lineevents; member 971 if (self->lineevents) in do_start() 982 if (self->lineevents) in do_stop() 1187 {"lineevents", T_LONG, offsetof(ProfilerObject, lineevents), READONLY}, 1443 (self->lineevents ? "yes" : "no")); in write_header() 1500 int lineevents = 0; in hotshot_profiler() local 1504 &lineevents, &linetimings)) { in hotshot_profiler() 1509 self->lineevents = lineevents ? 1 : 0; in hotshot_profiler() 1510 self->linetimings = (lineevents && linetimings) ? 1 : 0; in hotshot_profiler() 1563 self->lineevents = 1; in hotshot_coverage()
|
/external/python/cpython2/Doc/library/ |
D | hotshot.rst | 36 .. class:: Profile(logfile[, lineevents[, linetimings]]) 39 logged profile data. The argument *lineevents* specifies whether to generate
|