Linux Perf
SchedGui.RootFrame Class Reference
Inheritance diagram for SchedGui.RootFrame:
Inheritance graph
Collaboration diagram for SchedGui.RootFrame:
Collaboration graph

Public Member Functions

def __init__ (self, sched_tracer, title, parent=None, id=-1)
 
def us_to_px (self, val)
 
def px_to_us (self, val)
 
def scroll_start (self)
 
def scroll_start_us (self)
 
def paint_rectangle_zone (self, nr, color, top_color, start, end)
 
def update_rectangles (self, dc, start, end)
 
def on_paint (self, event)
 
def rect_from_ypixel (self, y)
 
def update_summary (self, txt)
 
def on_mouse_down (self, event)
 
def update_width_virtual (self)
 
def zoom_in (self)
 
def zoom_out (self)
 
def on_key_press (self, event)
 

Public Attributes

 zoom
 
 scroll_scale
 
 sched_tracer
 
 nr_rects
 
 height_virtual
 
 panel
 
 scroll
 
 scroll_panel
 
 txt
 
 dc
 
 width_virtual
 

Static Public Attributes

int Y_OFFSET = 100
 
int RECT_HEIGHT = 100
 
int RECT_SPACE = 50
 
int EVENT_MARKING_WIDTH = 5
 

Private Member Functions

def __zoom (self, x)
 

Detailed Description

Definition at line 17 of file SchedGui.py.

Constructor & Destructor Documentation

◆ __init__()

def SchedGui.RootFrame.__init__ (   self,
  sched_tracer,
  title,
  parent = None,
  id = -1 
)

Definition at line 23 of file SchedGui.py.

Member Function Documentation

◆ __zoom()

def SchedGui.RootFrame.__zoom (   self,
  x 
)
private

Definition at line 148 of file SchedGui.py.

Here is the call graph for this function:

◆ on_key_press()

def SchedGui.RootFrame.on_key_press (   self,
  event 
)

Definition at line 166 of file SchedGui.py.

Here is the call graph for this function:

◆ on_mouse_down()

def SchedGui.RootFrame.on_mouse_down (   self,
  event 
)

Definition at line 134 of file SchedGui.py.

Here is the call graph for this function:

◆ on_paint()

def SchedGui.RootFrame.on_paint (   self,
  event 
)

Definition at line 108 of file SchedGui.py.

◆ paint_rectangle_zone()

def SchedGui.RootFrame.paint_rectangle_zone (   self,
  nr,
  color,
  top_color,
  start,
  end 
)

Definition at line 79 of file SchedGui.py.

Here is the call graph for this function:

◆ px_to_us()

def SchedGui.RootFrame.px_to_us (   self,
  val 
)

Definition at line 68 of file SchedGui.py.

◆ rect_from_ypixel()

def SchedGui.RootFrame.rect_from_ypixel (   self,
  y 
)

Definition at line 118 of file SchedGui.py.

◆ scroll_start()

def SchedGui.RootFrame.scroll_start (   self)

Definition at line 71 of file SchedGui.py.

◆ scroll_start_us()

def SchedGui.RootFrame.scroll_start_us (   self)

Definition at line 75 of file SchedGui.py.

Here is the call graph for this function:

◆ update_rectangles()

def SchedGui.RootFrame.update_rectangles (   self,
  dc,
  start,
  end 
)

Definition at line 103 of file SchedGui.py.

◆ update_summary()

def SchedGui.RootFrame.update_summary (   self,
  txt 
)

Definition at line 128 of file SchedGui.py.

◆ update_width_virtual()

def SchedGui.RootFrame.update_width_virtual (   self)

Definition at line 145 of file SchedGui.py.

◆ us_to_px()

def SchedGui.RootFrame.us_to_px (   self,
  val 
)

Definition at line 65 of file SchedGui.py.

◆ zoom_in()

def SchedGui.RootFrame.zoom_in (   self)

Definition at line 155 of file SchedGui.py.

Here is the call graph for this function:

◆ zoom_out()

def SchedGui.RootFrame.zoom_out (   self)

Definition at line 160 of file SchedGui.py.

Here is the call graph for this function:

Member Data Documentation

◆ dc

SchedGui.RootFrame.dc

Definition at line 110 of file SchedGui.py.

◆ EVENT_MARKING_WIDTH

int SchedGui.RootFrame.EVENT_MARKING_WIDTH = 5
static

Definition at line 21 of file SchedGui.py.

◆ height_virtual

SchedGui.RootFrame.height_virtual

Definition at line 36 of file SchedGui.py.

◆ nr_rects

SchedGui.RootFrame.nr_rects

Definition at line 35 of file SchedGui.py.

◆ panel

SchedGui.RootFrame.panel

Definition at line 39 of file SchedGui.py.

◆ RECT_HEIGHT

int SchedGui.RootFrame.RECT_HEIGHT = 100
static

Definition at line 19 of file SchedGui.py.

◆ RECT_SPACE

int SchedGui.RootFrame.RECT_SPACE = 50
static

Definition at line 20 of file SchedGui.py.

◆ sched_tracer

SchedGui.RootFrame.sched_tracer

Definition at line 31 of file SchedGui.py.

◆ scroll

SchedGui.RootFrame.scroll

Definition at line 42 of file SchedGui.py.

◆ scroll_panel

SchedGui.RootFrame.scroll_panel

Definition at line 48 of file SchedGui.py.

◆ scroll_scale

SchedGui.RootFrame.scroll_scale

Definition at line 30 of file SchedGui.py.

◆ txt

SchedGui.RootFrame.txt

Definition at line 61 of file SchedGui.py.

◆ width_virtual

SchedGui.RootFrame.width_virtual

Definition at line 146 of file SchedGui.py.

◆ Y_OFFSET

int SchedGui.RootFrame.Y_OFFSET = 100
static

Definition at line 18 of file SchedGui.py.

◆ zoom

SchedGui.RootFrame.zoom

Definition at line 29 of file SchedGui.py.


The documentation for this class was generated from the following file: