Hi,
I found that cpu core frequency can not be configured by using simconfig command through the parameter of core_freq_hz . When I debug the code to see if the cpu core frequency is changed as configured from simconfig command, I found that PTLsimConfig accept the change, but the global variable core_freq_hz was not changed as required. The function call get_core_freq_hz() always return the the value getting from "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", which is the cpu frequency of host machine. A small change on get_core_freq_hz() could make global variable core_freq_hz consistent with config.core_freq_hz. But it will make qemu and ptlsim run at different core frequency. Will such change introduce problems? Does the ptlsim have to use same frequency as the QEMU? if so, what should I change on the code to make cpu core frequency configurable? Thanks, HZ
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
