SimGrid  3.18
Versatile Simulation of Distributed Systems
sd_daxloader.cpp File Reference
#include "simdag_private.hpp"
#include "simgrid/simdag.h"
#include "xbt/file.hpp"
#include "xbt/log.h"
#include "xbt/misc.h"
#include <map>
#include "dax_dtd.h"
#include "dax_dtd.c"

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (sd_daxparse, sd, "Parsing DAX files")
 
void uniq_transfer_task_name (SD_task_t task)
 
static bool children_are_marked (SD_task_t task)
 
static bool parents_are_marked (SD_task_t task)
 
bool acyclic_graph_detail (xbt_dynar_t dag)
 
static void dax_task_free (void *task)
 
xbt_dynar_t SD_daxload (const char *filename)
 loads a DAX file describing a DAG More...
 
void STag_dax__adag ()
 
void STag_dax__job ()
 
void STag_dax__uses ()
 
void STag_dax__child ()
 
void ETag_dax__child ()
 
void STag_dax__parent ()
 
void ETag_dax__adag ()
 
void ETag_dax__job ()
 
void ETag_dax__parent ()
 
void ETag_dax__uses ()
 

Variables

static YY_BUFFER_STATE input_buffer
 
static xbt_dynar_t result
 
static std::map< std::string, SD_task_tjobs
 
static std::map< std::string, SD_task_tfiles
 
static SD_task_t current_job
 
static SD_task_t root_task
 
static SD_task_t end_task
 
static SD_task_t current_child
 

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( sd_daxparse  ,
sd  ,
"Parsing DAX files  
)

◆ uniq_transfer_task_name()

void uniq_transfer_task_name ( SD_task_t  task)

◆ children_are_marked()

static bool children_are_marked ( SD_task_t  task)
static

◆ parents_are_marked()

static bool parents_are_marked ( SD_task_t  task)
static

◆ acyclic_graph_detail()

bool acyclic_graph_detail ( xbt_dynar_t  dag)

◆ dax_task_free()

static void dax_task_free ( void task)
static

◆ STag_dax__adag()

void STag_dax__adag ( void  )

◆ STag_dax__job()

void STag_dax__job ( void  )

◆ STag_dax__uses()

void STag_dax__uses ( void  )

◆ STag_dax__child()

void STag_dax__child ( void  )

◆ ETag_dax__child()

void ETag_dax__child ( void  )

◆ STag_dax__parent()

void STag_dax__parent ( void  )

◆ ETag_dax__adag()

void ETag_dax__adag ( void  )

◆ ETag_dax__job()

void ETag_dax__job ( void  )

◆ ETag_dax__parent()

void ETag_dax__parent ( void  )

◆ ETag_dax__uses()

void ETag_dax__uses ( void  )

Variable Documentation

◆ input_buffer

YY_BUFFER_STATE input_buffer
static

◆ result

xbt_dynar_t result
static

◆ jobs

std::map<std::string, SD_task_t> jobs
static

◆ files

std::map<std::string, SD_task_t> files
static

◆ current_job

SD_task_t current_job
static

◆ root_task

SD_task_t root_task
static

◆ end_task

SD_task_t end_task
static

◆ current_child

SD_task_t current_child
static