A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Move stacks_areas code in mcer_ignore
[simgrid.git]
/
src
/
simdag
/
private.h
diff --git
a/src/simdag/private.h
b/src/simdag/private.h
index
19a9022
..
67e9e7b
100644
(file)
--- a/
src/simdag/private.h
+++ b/
src/simdag/private.h
@@
-1,4
+1,4
@@
-/* Copyright (c) 2006
, 2007, 2008, 2009, 2010
. The SimGrid Team.
+/* Copyright (c) 2006
-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-10,8
+10,7
@@
#include "xbt/dict.h"
#include "xbt/dynar.h"
#include "xbt/fifo.h"
#include "xbt/dict.h"
#include "xbt/dynar.h"
#include "xbt/fifo.h"
-#include "simdag/simdag.h"
-#include "simdag/datatypes.h"
+#include "simgrid/simdag.h"
#include "surf/surf.h"
#include "xbt/swag.h"
#include "xbt/mallocator.h"
#include "surf/surf.h"
#include "xbt/swag.h"
#include "xbt/mallocator.h"
@@
-73,8
+72,12
@@
static inline SD_workstation_priv_t SD_workstation_priv(SD_workstation_t host){
typedef s_xbt_dictelm_t s_SD_storage_t;
typedef struct SD_storage {
void *data; /* user data */
typedef s_xbt_dictelm_t s_SD_storage_t;
typedef struct SD_storage {
void *data; /* user data */
+ const char *host;
} s_SD_storage_priv_t, *SD_storage_priv_t;
} s_SD_storage_priv_t, *SD_storage_priv_t;
+static inline SD_storage_priv_t SD_storage_priv(SD_storage_t storage){
+ return xbt_lib_get_level(storage, SD_STORAGE_LEVEL);
+}
/* Task */
typedef struct SD_task {
/* Task */
typedef struct SD_task {
@@
-106,14
+109,12
@@
typedef struct SD_task {
/* scheduling parameters (only exist in state SD_SCHEDULED) */
int workstation_nb;
SD_workstation_t *workstation_list; /* surf workstations */
/* scheduling parameters (only exist in state SD_SCHEDULED) */
int workstation_nb;
SD_workstation_t *workstation_list; /* surf workstations */
- double *
computation
_amount;
- double *
communication
_amount;
+ double *
flops
_amount;
+ double *
bytes
_amount;
double rate;
double rate;
-#ifdef HAVE_TRACING
long long int counter; /* task unique identifier for instrumentation */
char *category; /* sd task category for instrumentation */
long long int counter; /* task unique identifier for instrumentation */
char *category; /* sd task category for instrumentation */
-#endif
} s_SD_task_t;
/* Task dependencies */
} s_SD_task_t;
/* Task dependencies */