-double surf_action_get_start_time(surf_action_t action){
- return action->getStartTime();
-}
-
-double surf_action_get_finish_time(surf_action_t action){
- return action->getFinishTime();
-}
-
-double surf_action_get_remains(surf_action_t action){
- return action->getRemains();
-}
-
-void surf_action_set_category(surf_action_t action, const char *category){
- action->setCategory(category);
-}
-
-void *surf_action_get_data(surf_action_t action){
- return action->getData();
-}
-
-void surf_action_set_data(surf_action_t action, void *data){
- action->setData(data);
-}
-
-e_surf_action_state_t surf_action_get_state(surf_action_t action){
- return action->getState();
-}
-
-double surf_action_get_cost(surf_action_t action){
- return action->getCost();
-}
-
-void surf_cpu_action_set_affinity(surf_action_t action, sg_host_t host, unsigned long mask) {
- static_cast<simgrid::surf::CpuAction*>(action)->setAffinity(host->pimpl_cpu, mask);
-}
-