Remove assignment of ns_per_tsc in struct monitor
struct member seems to have been removed or moved to struct global_rusage
This commit is contained in:
@@ -206,7 +206,6 @@ static void monitor_init()
|
|||||||
monitor = ihk_mc_alloc_pages(z, IHK_MC_AP_CRITICAL);
|
monitor = ihk_mc_alloc_pages(z, IHK_MC_AP_CRITICAL);
|
||||||
memset(monitor, 0, z * PAGE_SIZE);
|
memset(monitor, 0, z * PAGE_SIZE);
|
||||||
monitor->num_processors = (cpu_info->ncpus - 1);
|
monitor->num_processors = (cpu_info->ncpus - 1);
|
||||||
monitor->ns_per_tsc = ihk_mc_get_ns_per_tsc();
|
|
||||||
phys = virt_to_phys(monitor);
|
phys = virt_to_phys(monitor);
|
||||||
ihk_set_monitor(phys, sizeof(struct ihk_os_monitor) +
|
ihk_set_monitor(phys, sizeof(struct ihk_os_monitor) +
|
||||||
sizeof(struct ihk_os_cpu_monitor) * (cpu_info->ncpus - 1));
|
sizeof(struct ihk_os_cpu_monitor) * (cpu_info->ncpus - 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user