Add tsc related functions for measurement gathering