def try_to_draw_vms_cache_refresh_lines():
    if(isNetflixInternal()):
        try:
            fp = open(vmsGCReportDirectory + os.path.sep + 'vms-cache-refresh-overall-events-milliseconds')
        except IOError:
            return
        for line in fp:
            line = line.rstrip('\r\n')
            try:
                (finish_time_ms_str, duration_ms_str) = line.split()
            except __HOLE__:
                continue
            finish_time_ms = long(finish_time_ms_str)
            duration_ms = long(duration_ms_str)
            start_time_ms = finish_time_ms - duration_ms
            start_time_secs = start_time_ms/1000.0
            start_time_days = mdates.epoch2num(start_time_secs)
            start_time_line = lines.Line2D([start_time_days,start_time_days], [0,maxGCEventDuration], color='r')
            ax.add_line(start_time_line)
            finish_time_secs = finish_time_ms/1000.0
            finish_time_days = mdates.epoch2num(finish_time_secs)
            finish_time_line = lines.Line2D([finish_time_days,finish_time_days], [0,maxGCEventDuration], color='c')
            ax.add_line(finish_time_line)
        fp.close()
        # draw some fake lines just to get them into the legend
        fake_vms_start_line = lines.Line2D([jvmBootDays,0], [jvmBootDays,0], label='VMS cache refresh start', color='r')
        fake_vms_end_line = lines.Line2D([jvmBootDays,0], [jvmBootDays,0], label='VMS cache refresh end', color='c')
        ax.add_line(fake_vms_start_line)
        ax.add_line(fake_vms_end_line)
dataset/ETHPy150Open Netflix/gcviz/root/apps/apache/htdocs/AdminGCViz/visualize-gc.py/try_to_draw_vms_cache_refresh_lines