SimGrid  3.13
Versatile Simulation of Distributed Systems
SD Data Types

This section describes the different datatypes provided by SD. More...

Typedefs

typedef LinkSD_link_t
 Link datatypeA link is a network node represented as a name, a bandwidth and a latency. More...
 
typedef struct SD_taskSD_task_t
 Task datatypeA task is some computing amount that can be executed in parallel on several hosts. More...
 
typedef xbt_dictelm_t SD_storage_t
 Storage datatype. More...
 

Enumerations

enum  e_SD_task_state_t {
  SD_NOT_SCHEDULED = 0, SD_SCHEDULABLE = 0x0001, SD_SCHEDULED = 0x0002, SD_RUNNABLE = 0x0004,
  SD_RUNNING = 0x0008, SD_DONE = 0x0010, SD_FAILED = 0x0020
}
 Task states. More...
 
enum  e_SD_task_kind_t {
  SD_TASK_NOT_TYPED = 0, SD_TASK_COMM_E2E = 1, SD_TASK_COMP_SEQ = 2, SD_TASK_COMP_PAR_AMDAHL = 3,
  SD_TASK_COMM_PAR_MXN_1D_BLOCK = 4
}
 Task kinds. More...
 

Detailed Description

This section describes the different datatypes provided by SD.

Typedef Documentation

typedef Link* SD_link_t

Link datatypeA link is a network node represented as a name, a bandwidth and a latency.

A route is a list of links between two workstations.

See also
SD_link_management
typedef struct SD_task* SD_task_t

Task datatypeA task is some computing amount that can be executed in parallel on several hosts.

A task may depend on other tasks, which means that the task cannot start until the other tasks are done. Each task has a state indicating whether the task is scheduled, running, done, ...

See also
Tasks

Storage datatype.

See also
SD_storage_management

Enumeration Type Documentation

Task states.

See also
Tasks
Enumerator
SD_NOT_SCHEDULED 

Initial state (not valid for SD_watch and SD_unwatch).

SD_SCHEDULABLE 

A task becomes SD_SCHEDULABLE as soon as its dependencies are satisfied.

SD_SCHEDULED 

A task becomes SD_SCHEDULED when you call function SD_task_schedule.

SD_simulate will execute it when it becomes SD_RUNNABLE.

SD_RUNNABLE 

A scheduled task becomes runnable is SD_simulate as soon as its dependencies are satisfied.

SD_RUNNING 

An SD_RUNNABLE task becomes SD_RUNNING when it is launched.

SD_DONE 

The task is successfully finished.

SD_FAILED 

A problem occurred during the execution of the task.

Task kinds.

See also
Tasks
Enumerator
SD_TASK_NOT_TYPED 

no specified type

SD_TASK_COMM_E2E 

end to end communication

SD_TASK_COMP_SEQ 

sequential computation

SD_TASK_COMP_PAR_AMDAHL 

parallel computation (Amdahl's law)

SD_TASK_COMM_PAR_MXN_1D_BLOCK 

MxN data redistribution (1D Block distribution)