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:
Hannes Weisbach
2017-10-12 17:13:21 +09:00
parent 5753db5846
commit d7523cdd84

View File

@ -206,7 +206,6 @@ static void monitor_init()
monitor = ihk_mc_alloc_pages(z, IHK_MC_AP_CRITICAL);
memset(monitor, 0, z * PAGE_SIZE);
monitor->num_processors = (cpu_info->ncpus - 1);
monitor->ns_per_tsc = ihk_mc_get_ns_per_tsc();
phys = virt_to_phys(monitor);
ihk_set_monitor(phys, sizeof(struct ihk_os_monitor) +
sizeof(struct ihk_os_cpu_monitor) * (cpu_info->ncpus - 1));