BeagleSchedulerInformation

BeagleSchedulerInformation

Functions

Types and Values

Description

Functions

beagle_scheduler_information_ref ()

BeagleSchedulerInformation *
beagle_scheduler_information_ref (BeagleSchedulerInformation *sched_info);

Increases the reference count of the BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

beagle_scheduler_information_unref ()

void
beagle_scheduler_information_unref (BeagleSchedulerInformation *sched_info);

Decreases the reference count of the BeagleSchedulerInformation. When the reference count drops to 0, it is freed.

Parameters

sched_info

a BeagleSchedulerInformation

 

beagle_scheduler_information_get_total_task_count ()

int
beagle_scheduler_information_get_total_task_count
                               (BeagleSchedulerInformation *sched_info);

Fetches the total number of tasks from the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

the number of tasks from the BeagleSchedulerInformation.


beagle_scheduler_information_get_status_string ()

const char *
beagle_scheduler_information_get_status_string
                               (BeagleSchedulerInformation *sched_info);

Fetches the status string from the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

the status string from the BeagleSchedulerInformation.


beagle_scheduler_information_get_pending_tasks ()

GSList *
beagle_scheduler_information_get_pending_tasks
                               (BeagleSchedulerInformation *sched_info);

Fetches the list of pending tasks as strings from the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

the list of pending tasks from the BeagleSchedulerInformation.


beagle_scheduler_information_get_future_tasks ()

GSList *
beagle_scheduler_information_get_future_tasks
                               (BeagleSchedulerInformation *sched_info);

Fetches the list of future tasks as strings from the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

the list of future tasks from the BeagleSchedulerInformation.


beagle_scheduler_information_get_blocked_tasks ()

GSList *
beagle_scheduler_information_get_blocked_tasks
                               (BeagleSchedulerInformation *sched_info);

Fetches the list of blocked tasks as strings from the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

the list of blocked tasks from the BeagleSchedulerInformation.


beagle_scheduler_information_to_human_readable_string ()

const char *
beagle_scheduler_information_to_human_readable_string
                               (BeagleSchedulerInformation *sched_info);

Fetches a string version of the given BeagleSchedulerInformation.

Parameters

sched_info

a BeagleSchedulerInformation

 

Returns

a string version from the BeagleSchedulerInformation.

Types and Values

BeagleSchedulerInformation

typedef struct _BeagleSchedulerInformation BeagleSchedulerInformation;