| Libbeagle Reference Manual | ||||
|---|---|---|---|---|
BeagleSchedulerInformation;
BeagleSchedulerInformation* beagle_scheduler_information_ref
(BeagleSchedulerInformation *sched_info);
void beagle_scheduler_information_unref (BeagleSchedulerInformation *sched_info);
int beagle_scheduler_information_get_total_task_count
(BeagleSchedulerInformation *sched_info);
const char* beagle_scheduler_information_get_status_string
(BeagleSchedulerInformation *sched_info);
GSList* beagle_scheduler_information_get_pending_tasks
(BeagleSchedulerInformation *sched_info);
GSList* beagle_scheduler_information_get_future_tasks
(BeagleSchedulerInformation *sched_info);
GSList* beagle_scheduler_information_get_blocked_tasks
(BeagleSchedulerInformation *sched_info);
const char* beagle_scheduler_information_to_human_readable_string
(BeagleSchedulerInformation *sched_info);
BeagleSchedulerInformation* beagle_scheduler_information_ref (BeagleSchedulerInformation *sched_info);
Increases the reference count of the BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the BeagleSchedulerInformation |
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.
sched_info : |
a BeagleSchedulerInformation |
int beagle_scheduler_information_get_total_task_count
(BeagleSchedulerInformation *sched_info);
Fetches the total number of tasks from the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the number of tasks from the BeagleSchedulerInformation. |
const char* beagle_scheduler_information_get_status_string
(BeagleSchedulerInformation *sched_info);
Fetches the status string from the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the status string from the BeagleSchedulerInformation. |
GSList* beagle_scheduler_information_get_pending_tasks
(BeagleSchedulerInformation *sched_info);
Fetches the list of pending tasks as strings from the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the list of pending tasks from the BeagleSchedulerInformation. |
GSList* beagle_scheduler_information_get_future_tasks
(BeagleSchedulerInformation *sched_info);
Fetches the list of future tasks as strings from the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the list of future tasks from the BeagleSchedulerInformation. |
GSList* beagle_scheduler_information_get_blocked_tasks
(BeagleSchedulerInformation *sched_info);
Fetches the list of blocked tasks as strings from the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | the list of blocked tasks from the BeagleSchedulerInformation. |
const char* beagle_scheduler_information_to_human_readable_string
(BeagleSchedulerInformation *sched_info);
Fetches a string version of the given BeagleSchedulerInformation.
sched_info : |
a BeagleSchedulerInformation |
| Returns : | a string version from the BeagleSchedulerInformation. |