Report this

What is the reason for this report?

Does the linux "time" command measure user time (not real time or system time) correctly when using vCPUs (ie. on DigitalOcean)?

Posted on June 1, 2018

We’re deploying a CMS instance (contest management system, Github repo link). To accurately measure whether or not a given solution to a task is fast enough, the system would need to accurately measure time even when the CPU might be used by another droplet for a short time in the middle of the execution of a solution. So, I’d like to know whether or not the fact that droplets run on virtual CPU cores affects the linux “time” command.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.