def find_max_cpu_usage(cpu_usage_list, poll_times):
    max_cpu_usage = cpu_usage_list[0]
    max_cpu_usage_index = 0
    for (i, cpu_usage) in enumerate(cpu_usage_list):
        if (cpu_usage > max_cpu_usage):
            max_cpu_usage = cpu_usage
            max_cpu_usage_index = i
    return [max_cpu_usage, (max_cpu_usage_index + (poll_times * poll_interval))]
def find_max_cpu_usage(cpu_usage_list, poll_times):
    max_cpu_usage = cpu_usage_list[0]
    max_cpu_usage_index = 0
    for (i, cpu_usage) in enumerate(cpu_usage_list):
        if (cpu_usage > max_cpu_usage):
            max_cpu_usage = cpu_usage
            max_cpu_usage_index = i
    return [max_cpu_usage, (max_cpu_usage_index + (poll_times * poll_interval))]