Added Brian's flowmeter code from today

@breakpointer @kevinreedy