SimGrid  3.9.90
Versatile Simulation of Distributed Systems
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
surf_action Struct Reference

Action structure. More...

#include <surf.h>

Data Fields

double cost
 
double priority
 
double max_duration
 
double remains
 
double start
 
double finish
 
void * data
 
char * category
 
surf_file_t file
 

Detailed Description

Action structure.

Never create s_surf_action_t by yourself ! The actions are created on the fly when you call execute or communicate on a model.

See Also
e_surf_action_state_t

Field Documentation

double surf_action::cost

cost

double surf_action::priority

priority (1.0 by default)

double surf_action::max_duration
                      max_duration (may fluctuate until

the task is completed)

double surf_action::remains
                      How much of that cost remains to

be done in the currently running task

double surf_action::start

start time

double surf_action::finish
                      finish time : this is modified during the run

and fluctuates until the task is completed

void* surf_action::data

for your convenience

char* surf_action::category

tracing category for categorized resource utilization monitoring

surf_file_t surf_action::file

surf_file_t for storage model


The documentation for this struct was generated from the following file: