Developing logic for real time time trace measurements