Thanks a lot.
Now how can I use real-time intervals in my program?