thorium_node: move time delta computation in function

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_node: add InboundThroughput and OutboundThroughput indicators

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>