git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@537
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
gras/datadesc.little32 gras/datadesc.little64 gras/datadesc.big32 gras/datadesc.big64 \
gras/datadesc.aix \
gras/mk_datadesc_structs.pl \
- surf/trace_A.txt surf/trace_B.txt
+ surf/trace_A.txt surf/trace_B.txt surf/trace_A_failure.txt
# Test stuff
--- /dev/null
+<CPU>
+
+ "Cpu A" 100.00 1.0 trace_A.txt ON trace_A_failure.txt
+ "Cpu B" 100.00 1.0 trace_B.txt ON ""
+
+</CPU>
\ No newline at end of file
xbt_maxmin_float_t now = -1.0;
surf_init(); /* Initialize some common structures */
- surf_cpu_resource_init(NULL); /* Now it is possible to use CPUs */
+ surf_cpu_resource_init("platform.txt"); /* Now it is possible to use CPUs */
printf("%p \n", surf_cpu_resource);
cpuA = surf_cpu_resource->common_public->name_service("Cpu A");
-PERIODICITY 100.01
-1.1 100.0
-15.2 20.0
-20.4 80.24
+PERIODICITY 1.0
+0.0 1.0
+11.0 0.5
+20.0 0.9
--- /dev/null
+PERIODICITY 10.0
+1.0 -1.0
+2.0 1.0
-PERIODICITY 10.00
-1.0 10.0
-15.0 2.0
-20.0 8.024
+PERIODICITY 7.00
+0.0 1.0
+11.0 1.0
+30.0 1.0