public double get_next_time_double_cpu(Event e) {
        switch (e) {
            case ARRIVAL: return this.getTempoArrivo();
            case CPU1: return this.getTempoCPU1();
            case CPU2: return this.getTempoCPU2();
            case IO: return this.getTempoIO();
        }
        return 0;
    }