set measure packet interval at compile time