TNSM_Latency_Prediction / code