Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
RunqueueSnapshot Class Reference

Public Member Functions

def __init__
 
def sched_switch
 
def migrate_out
 
def migrate_in
 
def wake_up
 
def wake_up_new
 
def load
 
def __repr__
 

Data Fields

 tasks
 
 event
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  tasks = [0],
  event = RunqueueEventUnknown() 
)

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

Member Function Documentation

def __repr__ (   self)

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

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

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

def migrate_in (   self,
  new 
)

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

def migrate_out (   self,
  old 
)

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

def sched_switch (   self,
  prev,
  prev_state,
  next 
)

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

def wake_up (   self,
  new 
)

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

def wake_up_new (   self,
  new 
)

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

Field Documentation

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

tasks

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


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