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
Modify structures to support different sources of avaibility trace
[simgrid.git]
/
testsuite
/
surf
/
trace_usage.c
diff --git
a/testsuite/surf/trace_usage.c
b/testsuite/surf/trace_usage.c
index
897fe6c
..
95514f5
100644
(file)
--- a/
testsuite/surf/trace_usage.c
+++ b/
testsuite/surf/trace_usage.c
@@
-23,8
+23,8
@@
void test(void);
void test(void)
{
tmgr_history_t history = tmgr_history_new();
void test(void)
{
tmgr_history_t history = tmgr_history_new();
- tmgr_trace_t trace_A = tmgr_trace_new("trace_A.txt");
- tmgr_trace_t trace_B = tmgr_trace_new("trace_B.txt");
+ tmgr_trace_t trace_A = tmgr_trace_new
_from_file
("trace_A.txt");
+ tmgr_trace_t trace_B = tmgr_trace_new
_from_file
("trace_B.txt");
double next_event_date = -1.0;
double value = -1.0;
char *resource = NULL;
double next_event_date = -1.0;
double value = -1.0;
char *resource = NULL;