/linux-master/kernel/sched/ |
H A D | fair.c | 6717 * if energy aware scheduler is being used 7806 * energy_env - Utilization landscape for energy estimation. 7849 * energy cost is removed (by cpu_util()) and must be calculated 7928 * compute_energy(): Use the Energy Model to estimate the energy that @pd would 7938 unsigned long energy; local 7943 energy = em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); 7945 trace_sched_compute_energy_tp(p, dst_cpu, energy, max_util, busy_time); 7947 return energy; 7951 * find_energy_efficient_cpu(): Find most energy-efficient target CPU for the 7955 * out which of the CPU candidates is the most energy [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 53 * struct xe_hwmon_energy_info - to accumulate energy 56 /** @reg_val_prev: previous energy reg val */ 58 /** @accum_energy: accumulated energy */ 74 /** @scl_shift_energy: pkg energy unit */ 229 * xe_hwmon_energy_get - Obtain energy value 231 * The underlying energy hardware register is 32-bits and is subject to 242 * minutes) by accumulating the energy register into a 'long' as allowed by 249 xe_hwmon_energy_get(struct xe_hwmon *hwmon, int channel, long *energy) argument 264 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, 425 HWMON_CHANNEL_INFO(energy, HWMON_E_INPU 763 long energy; local [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 23 * - energy - microjoules 43 long accum_energy; /* Accumulated energy for energy1_input */ 106 * hwm_energy - Obtain energy value 108 * The underlying energy hardware register is 32-bits and is subject to 119 * minutes) by accumulating the energy register into a 'long' as allowed by 126 hwm_energy(struct hwm_drvdata *ddat, long *energy) argument 151 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, 277 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT), 283 HWMON_CHANNEL_INFO(energy, HWMON_E_INPUT), 730 long energy; local [all...] |
/linux-master/include/trace/events/ |
H A D | sched.h | 823 TP_PROTO(struct task_struct *p, int dst_cpu, unsigned long energy, 825 TP_ARGS(p, dst_cpu, energy, max_util, busy_time));
|
/linux-master/drivers/powercap/ |
H A D | intel_rapl_common.c | 302 static int get_max_energy_counter(struct powercap_zone *pcd_dev, u64 *energy) argument 306 *energy = rapl_unit_xlate(rd, ENERGY_UNIT, ENERGY_STATUS_MASK, 0); 804 * time, energy, and power. 916 * energy unit: picoJoules : Represented in picoJoules by default 942 pr_debug("Core CPU %s:%s energy=%dpJ, time=%dus, power=%duW\n", 970 pr_debug("Atom %s:%s energy=%dpJ, time=%dus, power=%duW\n", 1157 pr_debug("Core CPU %s:%s energy=%dpJ, time=%dus, power=%duW\n", 1414 * Get per domain energy/power/time unit. 1518 * of exposing its energy counters via Perf PMU. 1537 * energy unit [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rx.c | 119 IWL_DEBUG_STATS(mvm, "energy In A %d B %d , and max %d\n", 740 u8 *energy = _data; local 747 if (energy[sta_id]) 748 mvmsta->deflink.avg_energy = energy[sta_id]; 1183 u8 *energy; local 1271 energy = (void *)&v11->load_stats.avg_energy; 1277 energy = (void *)&stats->load_stats.avg_energy; 1282 energy);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | scan.h | 1163 * @energy: energy 1172 u8 energy; member in struct:iwl_scan_offload_profile_match_v1 1207 * @energy: energy 1216 u8 energy; member in struct:iwl_scan_offload_profile_match
|
/linux-master/arch/x86/events/ |
H A D | rapl.c | 3 * Support Intel/AMD RAPL energy consumption counters 12 * RAPL provides more controls than just reporting energy consumption 13 * however here we only expose the 3 energy consumption free running 70 * RAPL energy status counters 393 RAPL_EVENT_ATTR_STR(energy-cores, rapl_cores, "event=0x01"); 394 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02"); 395 RAPL_EVENT_ATTR_STR(energy-ram , rapl_ram, "event=0x03"); 396 RAPL_EVENT_ATTR_STR(energy-gpu , rapl_gpu, "event=0x04"); 397 RAPL_EVENT_ATTR_STR(energy-psys, rapl_psys, "event=0x05"); 399 RAPL_EVENT_ATTR_STR(energy [all...] |
/linux-master/drivers/hwmon/ |
H A D | ltc4282.c | 544 u64 temp, energy; local 552 energy = be64_to_cpu(raw) >> 16; 554 * The formula for energy is given by: 565 if (check_mul_overflow(DECA * st->vfs_out * 40 * BIT(8), energy, &temp)) { 567 *val = DIV_ROUND_CLOSEST_ULL(temp * energy, st->rsense); 1111 u64 energy; local 1118 ret = ltc4282_read_energy(st, &energy); 1122 return sysfs_emit(buf, "%llu\n", energy); 1594 HWMON_CHANNEL_INFO(energy, 1611 /* energy attribute [all...] |
H A D | ibmaem.c | 4 * temperature/power/energy sensors and capping functionality. 63 /* AEM 2.x has more energy registers */ 149 * Two energy meters 158 /* energy use in mJ */ 159 u64 energy[AEM_NUM_ENERGY_REGS]; member in struct:aem_data 426 /* Update AEM energy registers */ 430 &data->energy[which], 8); 839 before = data->energy[attr->index]; 851 after = data->energy[attr->index]; 860 /* Display energy us [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_int.h | 341 u16 energy; member in struct:aci_save_gphy
|
/linux-master/tools/testing/selftests/amd-pstate/ |
H A D | tbench.sh | 12 # 6) Plot png images about performance, energy and performance per watt for each test. 23 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: performance, $7: energy, $8: performance per watt 71 $PERF stat -a --per-socket -I 1000 -e power/energy-pkg/ tbench -t $TIME_LIMIT $PROCESS_NUM > $OUTFILE_TBENCH-perf-$1-$2.log 2>&1 102 grep Joules $OUTFILE_TBENCH-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_TBENCH-energy-$1-$2.log 103 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-energy-$1-$2.log) 107 # It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J), 157 grep "Tbench-$1-#" $OUTFILE_TBENCH.result | grep "power consumption(J):" | awk '{print $NF}' > $OUTFILE_TBENCH-energy-$1.log 158 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-energy-$1.log) 161 avg_en=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_TBENCH-energy-$1.log) 165 # It is well known that P=E/t, where P is power measured in watts(W), E is energy measure [all...] |
H A D | gitsource.sh | 14 #8) Plot png images about time, energy and performance per watt for each test. 28 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: time $7: energy, $8: PPW 91 $PERF stat -a --per-socket -I 1000 -e power/energy-pkg/ /usr/bin/time -o $BACKUP_DIR/$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > $BACKUP_DIR/$OUTFILE_GIT-perf-$1-$2.log 2>&1 120 grep Joules $OUTFILE_GIT-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_GIT-energy-$1-$2.log 121 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-energy-$1-$2.log) 125 # seconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J), 175 grep "Gitsource-$1-#" $OUTFILE_GIT.result | grep "power consumption(J):" | awk '{print $NF}' > $OUTFILE_GIT-energy-$1.log 176 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-energy-$1.log) 179 avg_en=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-energy-$1.log) 183 # seconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measure [all...] |