pipe data-flow measurement program