Function-ized match clock in Tag.cpp