Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[route parsing] kill global_routing->size_of_link
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 9 Apr 2012 01:43:28 +0000 (15:43 -1000)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 9 Apr 2012 01:47:22 +0000 (15:47 -1000)
commitaea5cd54d7bc57803095a419ce5e9f1765634921
treefcb25717c81c1cf5cfe7cebba9c935cadfb24a26
parentc17728963bd9e2b81e4764aa1d1b90a19e5de741
[route parsing] kill global_routing->size_of_link

- Actually, all links we use are pointers to structure (how
  surprising). This strange thing survived until now because the
  constant model declared to have a size of links being the size of a
  double. But actually, since there is no link in constant routing, we
  could use 0 as size of links in that case.
- Also introduce a sg_routing_link_t that is simply an alias to void*
  for now. It is intended to represent what is stored into link_lib at
  the surf level (that is the core-most link concept)
12 files changed:
include/simgrid/platf.h
src/instr/instr_routing.c
src/surf/network.c
src/surf/network_constant.c
src/surf/surf_private.h
src/surf/surf_routing.c
src/surf/surf_routing_dijkstra.c
src/surf/surf_routing_floyd.c
src/surf/surf_routing_full.c
src/surf/surf_routing_generic.c
src/surf/surf_routing_rulebased.c
src/surf/workstation_ptask_L07.c