[base] Implement a little more of the task graph class and its unit tests.
[examples] Minor patch to allow configurable bandwidth binning window.