*
* \param src a workstation
* \param dst another workstation
- * \return a new array of \ref SD_link_t representating the route between these two workstations
+ * \return a new array of \ref SD_link_t representing the route between these two workstations
* \see SD_route_get_size(), SD_link_t
*/
const SD_link_t *SD_route_get_list(SD_workstation_t src,
*/
double SD_workstation_get_power(SD_workstation_t workstation)
{
- return workstation->getSpeed();
+ return workstation->speed();
}
/**
* \brief Returns the amount of cores of a workstation
* \return the amount of cores of this workstation
*/
int SD_workstation_get_cores(SD_workstation_t workstation) {
- return workstation->getCoreAmount();
+ return workstation->core_count();
}
/**