Refacotring: Move ThreadCPUTImeDiff to own class; Move Graph generators to graph.GraphGen