Python modules for KUSP Group Scheduling.
Note
There is not currently any documentation over the gschedapi SWIG wrapper for libgsched.
gsgraphviz
A Python module supporting the representation of Group Scheduling Hierarchies in diagrams generated using Pygraphviz.
gsnetworkx
A Python module supporting the representation of Group Scheduling Hierarchies in the NetworkX environment, which includeds graph representations of GSH and creating diagrams generated using the NetworkX interface to Graphviz.
gsprocutils
A Python module for reading and parsing the /proc/group_sched representation of the current system Group Scheduling Hierarchy.
gssession
This module provides an interface supporting the manipulation of the Group Scheduling Hierarchies in the system, including specification of which Group Scheduling Hierarchy is active. Note that this module is used in conjunction with gsstructures, which gives access higher level group scheduling hierarchy contents.
gsstructures
Note
- To be gshierarchies, simple renaming.
- Resolve GSThread ‘name’ vs. ‘CCSM Component Set Name’
- Add the path-name of the executable file from which the address space contents in which the thread is executing were initialized.
- Need to change the parent relationship to a membership list.
This module contains all of the capabilites to learn about the current Group Scheduling Hierarchy. This includes routines to interpret information about each of the GSH Components, which includes: threads (tasks), groups, and SDFs. The interface supports thread information including: name, CCSM Name, group membership, thread member attributes, exec file, and GSH configfile (.gsh) docstring. The interface supports group information including: name, CCSM name, list of members, the group’s membership in other groups, the SDF used by the group, GSH configfile docstring, and group state data. The group state data can include: root attribute, delete on empty attribute, and other as needed by ongoing development. The interface supports SDF information including: SDF name, SDF subroutine name, per-member data, per-group data, GSH configfile docstring. Note that as development procedes on Group Scheduling to include fully functional support for user-defined SDFs, this module will be extended accordingly.
gswidgets
This module contains Qt Widgets which are specialized for the presentation of Group Scheduling related data.