I am running subprocesses in parallel to test race condition, to know the number of conflicts, i want to know the start time/end time of each subprocess, here is my code: