function-graph: add option for include sleep times