Lines Matching refs:tdelta
393 int tdelta = -1; in logreader_tp_iternext() local
425 err = unpack_packed_int(self, &tdelta, 0); in logreader_tp_iternext()
429 err = unpack_packed_int(self, &tdelta, 2); in logreader_tp_iternext()
434 err = unpack_packed_int(self, &tdelta, 0); in logreader_tp_iternext()
490 PyTuple_SET_ITEM(result, 1, PyInt_FromLong(tdelta)); in logreader_tp_iternext()
512 tdelta = ((b0 & 0xF0) << 4) + b1; in logreader_tp_iternext()
721 pack_enter(ProfilerObject *self, int fileno, int tdelta, int lineno) in pack_enter() argument
730 return pack_packed_int(self, tdelta); in pack_enter()
736 pack_exit(ProfilerObject *self, int tdelta) in pack_exit() argument
743 return pack_modified_packed_int(self, tdelta, 2, WHAT_EXIT); in pack_exit()
760 pack_lineno_tdelta(ProfilerObject *self, int lineno, int tdelta) in pack_lineno_tdelta() argument
768 return pack_packed_int(self, tdelta); in pack_lineno_tdelta()
834 int tdelta; in get_tdelta() local
841 tdelta = (int)diff; in get_tdelta()
847 tdelta = tv.tv_usec - self->prev_timeofday.tv_usec; in get_tdelta()
849 tdelta += (tv.tv_sec - self->prev_timeofday.tv_sec) * 1000000; in get_tdelta()
852 if (tdelta < 0) in get_tdelta()
856 return tdelta; in get_tdelta()