next up previous contents index
Next: 28.5.5 pfq_sff_create: create an Up: 28.5 External Requirements and Previous: 28.5.3 pfq_sff_create_root: create a

28.5.4 pfq_ssf_create_root: create a root node implementing SSF

 

SYNOPSIS

#include <oskit/hpfq.h>

oskit_error_t pfq_ssf_create_root(oskit_netio_t *link, pfq_sched_t **out_sched);

DESCRIPTION

Creates a root PFQ node implementing the Smallest Start time First (SSF) scheduling policy.

PARAMETERS

link
The link that the scheduling tree intends to manage.
out_sched
A pointer to the pfq_sched object representing the root of the hierarchy.

This can be then used with future pfq_sched methods to add children, etc.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group