SimGrid  3.7
Scalable simulation of distributed systems
Defines
Speed optimized access to dynars of scalars
Dynar: generic dynamic array

Defines

#define xbt_dynar_get_as(dynar, idx, type)
 Quick retrieval of scalar content.
#define xbt_dynar_set_as(dynar, idx, type, val)
 Quick setting of scalar content.
#define xbt_dynar_getlast_as(dynar, type)
 Quick retrieval of scalar content.
#define xbt_dynar_getfirst_as(dynar, type)
 Quick retrieval of scalar content.
#define xbt_dynar_insert_at_as(dynar, idx, type, value)
 Quick insertion of scalar content.
#define xbt_dynar_push_as(dynar, type, value)
 Quick insertion of scalar content.
#define xbt_dynar_pop_as(dynar, type)
 Quick removal of scalar content.

Detailed Description

While the other functions use a memcpy to retrieve the content into the user provided area, those ones use a regular affectation. It only works for scalar values, but should be a little faster.


Back to the main Simgrid Documentation page The version of SimGrid documented here is v3.7.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen