Home
last modified time | relevance | path

Searched refs:linetimings (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/hotshot/
D__init__.py11 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.c82 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/
Dtest_hotshot.py44 def new_profiler(self, lineevents=0, linetimings=1): argument
46 return hotshot.Profile(self.logfn, lineevents, linetimings)
/external/python/cpython2/Doc/library/
Dhotshot.rst36 .. class:: Profile(logfile[, lineevents[, linetimings]])
41 ``0`` (only log function call/return). The argument *linetimings* specifies