presto-main/src/main/java/io/prestosql/execution/QueryStateMachine.java/QueryStateMachine/getEndTime
class QueryStateMachine:    public Optional<DateTime> getEndTime()
    {
        return queryStateTimer.getEndTime();
    }