Hi, I wish to make time appear slower to applications running inside UML. I came across this post: http://www.mail-archive.com/user-mode-linux-u...@lists.sourceforge.net/msg03984.html
But it looks like UML now uses hrtimers (setitimer, getitimer). I have configured a tickless kernel. I tried dilating the time by library interposition and LD_PRELOADing a module that modifies the following system calls: - getitimer (gets the stored timer, returns T / dilation) - setitimer (sets a new timer for T * dilation) - nanosleep (sleeps for T * dilation) - gtod: gettimeofday (returns T / dilation) But some applications still have the correct knowledge of time. Applications that use gtod still know the "real" time (though I modified gtod), though "sleep 1" (which uses nanosleep), sleeps for 2 seconds. Am I doing something wrong? Thanks, -- Vimal ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel