|
time_dif <- round(cores * ((as.numeric(difftime(Sys.time(), start_time, units = "s"))*1000) / nrow(address)), 2) |
This seems to assume that there is a 1:1 inverse proportional correlation between number of 'cores' used for processing and running time. But that is not something you can assume, it would only be the case if the task was perfectly parallelisable and there were no other issues (e.g. contention on the bus).
GreenExp_R/R/vgvi_from_address.R
Line 386 in 7a52a5d
This seems to assume that there is a 1:1 inverse proportional correlation between number of 'cores' used for processing and running time. But that is not something you can assume, it would only be the case if the task was perfectly parallelisable and there were no other issues (e.g. contention on the bus).