From what I've read (please correct me on any of these points if I'm wrong);
CPU time is the time that the CPU is used (i.e. without the delays caused by other resources)
Elapsed time is the wall clock time (the amount of time taken to execute the operation regardless of any resource delays or multiple threads etc.)
Elapsed time is generally higher than CPU time with the exception of a multi processor environment
Assuming that the time taken by all my resources such as I/O is 0
Can I say that CPU Time divided by # of cores <= Elapsed time ?
By definition, elapsed time will be less than CPU time divided by number of cores if one core has to wait and/or takes more CPU time than another core. If all cores use the same CPU and have zero wait, then elapsed time will be the same as CPU time divided by number of cores. I can't see how it could ever be lower.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With