Ideally we should reduce code duplication by re-using the TaskManager's code to
gather the page fault counters in swap_thrashing_monitor_delegate_win.cc, but
it's not as simple as it should. It'll either require a lot of duct tape code to
connect these 2 things together, or the QuerySystemProcessInformation function in
chrome/browser/task_manager/sampling/shared_sampler_win.cc should be moved
somewhere else to make it easier to re-use it without having to implement
all the task manager specific stuff.
Comment 1 by sebmarchand@chromium.org
, Oct 28 2017