def computeLinkPower(link, stats_file, config, sim_seconds):
    frequency=getClock(link + ".nls0", config)
    power=dsent.computeLinkPower(frequency)
    print("%s.nls0 Power: " % link, power)

    frequency=getClock(link + ".nls1", config)
    power=dsent.computeLinkPower(frequency)
    print("%s.nls1 Power: " % link, power)
Ejemplo n.º 2
0
def computeLinkPower(link, stats_file, config, sim_seconds):
    frequency = getClock(link + ".nls0", config)
    power = dsent.computeLinkPower(frequency)
    print("%s.nls0 Power: " % link, power)

    frequency = getClock(link + ".nls1", config)
    power = dsent.computeLinkPower(frequency)
    print("%s.nls1 Power: " % link, power)
def computeLinkPower(link, stats_file, config, sim_seconds, avg_link_utilization):
    frequency = getClock(link + ".nls0", config)
    print("%s.nls0 Power: " % link)
    power = dsent.computeLinkPower(frequency, avg_link_utilization)

    frequency = getClock(link + ".nls1", config)
    print("%s.nls1 Power: " % link)
    power = dsent.computeLinkPower(frequency, avg_link_utilization)
Ejemplo n.º 4
0
def computeLinkPower(link, stats_file, config, sim_seconds,
                     avg_link_utilization):
    frequency = getClock(link + ".nls0", config)
    print("%s.nls0 Power: " % link)
    power = dsent.computeLinkPower(frequency, avg_link_utilization)

    frequency = getClock(link + ".nls1", config)
    print("%s.nls1 Power: " % link)
    power = dsent.computeLinkPower(frequency, avg_link_utilization)
Ejemplo n.º 5
0
def computeLinkPower(link, stats_file, config, sim_seconds):
    # frequency = getClock(link + ".nls0", config)
    # network_links0
    # power = dsent.computeLinkPower(frequency)
    # print("%s.nls0 Power: " % link, power)

    frequency = getClock(link + ".network_links", config)
    power = dsent.computeLinkPower(frequency)
    print("%s.network_links Power: " % link, power)
Ejemplo n.º 6
0
def computeLinkPower(link, stats_file, config, sim_seconds, num_bits,
                     act_factor):
    cycle_time_in_ps = getClock("system.ruby.clk_domain", config)
    frequency = 1000000000000 / cycle_time_in_ps
    power = dsent.computeLinkPower(frequency, num_bits, act_factor)
    dyn = power[0][1] * 2
    static = power[1][1] * 2
    power_new = ((power[0][0], dyn), (power[1][0], static))
    power = power_new
    #print("%s Power: " % link, power)

    return power