Linux Perf
sched-migration.RunqueueSnapshot Class Reference
Collaboration diagram for sched-migration.RunqueueSnapshot:
Collaboration graph

Public Member Functions

def __init__ (self, tasks=[0], event=RunqueueEventUnknown())
 
def sched_switch (self, prev, prev_state, next)
 
def migrate_out (self, old)
 
def migrate_in (self, new)
 
def wake_up (self, new)
 
def wake_up_new (self, new)
 
def load (self)
 
def __repr__ (self)
 

Public Attributes

 tasks
 
 event
 

Private Member Functions

def __migrate_in (self, new, event)
 

Detailed Description

Definition at line 97 of file sched-migration.py.

Constructor & Destructor Documentation

◆ __init__()

def sched-migration.RunqueueSnapshot.__init__ (   self,
  tasks = [0],
  event = RunqueueEventUnknown() 
)

Definition at line 98 of file sched-migration.py.

Member Function Documentation

◆ __migrate_in()

def sched-migration.RunqueueSnapshot.__migrate_in (   self,
  new,
  event 
)
private

Definition at line 131 of file sched-migration.py.

◆ __repr__()

def sched-migration.RunqueueSnapshot.__repr__ (   self)

Definition at line 153 of file sched-migration.py.

◆ load()

def sched-migration.RunqueueSnapshot.load (   self)
Provide the number of tasks on the runqueue.
    Don't count idle

Definition at line 148 of file sched-migration.py.

◆ migrate_in()

def sched-migration.RunqueueSnapshot.migrate_in (   self,
  new 
)

Definition at line 139 of file sched-migration.py.

Here is the call graph for this function:

◆ migrate_out()

def sched-migration.RunqueueSnapshot.migrate_out (   self,
  old 
)

Definition at line 124 of file sched-migration.py.

◆ sched_switch()

def sched-migration.RunqueueSnapshot.sched_switch (   self,
  prev,
  prev_state,
  next 
)

Definition at line 102 of file sched-migration.py.

Here is the call graph for this function:

◆ wake_up()

def sched-migration.RunqueueSnapshot.wake_up (   self,
  new 
)

Definition at line 142 of file sched-migration.py.

Here is the call graph for this function:

◆ wake_up_new()

def sched-migration.RunqueueSnapshot.wake_up_new (   self,
  new 
)

Definition at line 145 of file sched-migration.py.

Here is the call graph for this function:

Member Data Documentation

◆ event

sched-migration.RunqueueSnapshot.event

Definition at line 100 of file sched-migration.py.

◆ tasks

sched-migration.RunqueueSnapshot.tasks

Definition at line 99 of file sched-migration.py.


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