Searched refs:linetimings (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 13 self.linetimings = (linetimings and lineevents) and 1 or 0 15 logfn, self.lineevents, self.linetimings)
|
/external/python/cpython2/Modules/ |
D | _hotshot.c | 82 int linetimings; member 94 int linetimings; member 433 if (self->linetimings && !err) in logreader_tp_iternext() 461 self->linetimings = c ? 1 : 0; in logreader_tp_iternext() 702 self->buffer[self->index + 1] = self->linetimings ? 1 : 0; in pack_line_times() 881 if (self->linetimings) in tracer_callback() 1186 {"frametimings", T_LONG, offsetof(ProfilerObject, linetimings), READONLY}, 1188 {"linetimings", T_LONG, offsetof(ProfilerObject, linetimings), READONLY}, 1359 self->linetimings = 0; in hotshot_logreader() 1445 (self->linetimings ? "yes" : "no")); in write_header() [all …]
|
/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)
|
/external/python/cpython2/Doc/library/ |
D | hotshot.rst | 36 .. class:: Profile(logfile[, lineevents[, linetimings]]) 41 ``0`` (only log function call/return). The argument *linetimings* specifies
|