Timing control of Round robin animation java algorithm.

We know that switching from one process to another for round robin animation java algorithm requires a certain amount of time for doing the administration' saving and loading registers and memory is there any better way to reduce the time?
