Hi
it is real time but u should look into micro instructions that every instruction u are using how many cycle takes to execute and u should consider everyy compare that is in your loops.but the architecture of your micro is very important(risk and pipeline)