Home | History | Annotate | Download | only in python

Lines Matching refs:frame

11     description='''This command will enumerate all stack frames, print the stack size for each, and print an aggregation of which functions have the largest stack frame sizes at the end.'''
23 for frame in thread.frames:
26 if frame.idx == 1:
27 if frame.fp == last_frame.fp:
28 # No frame one the first frame (might be right at the entry point)
30 frame_size = frame.fp - frame.sp
32 # First frame that has a valid size
42 # Second or higher frame
43 frame_size = frame.fp - last_frame.fp
44 print "<%#7x> %s" % (frame_size, frame)
46 name = frame.name
51 last_frame = frame