presto-main/src/main/java/io/prestosql/execution/QueryStateTimer.java/QueryStateTimer/beginWaitingForResources
class QueryStateTimer:    private void beginWaitingForResources(long now)
    {
        queuedTime.compareAndSet(null, nanosSince(createNanos, now));
        beginResourceWaitingNanos.compareAndSet(null, now);
    }