Subject: system vs user time
To: None <>
From: Manuel Bouyer <>
List: tech-kern
Date: 11/14/2007 22:45:30
one remaining problem in bouyer-xenamd64 is that the time spent by a process
in userland is accounted as system time (in top, only system and interrupt
are non-0, user and nice are always 0 no matter what we do).
Can someone points me to the function where the various CPU times are
accounted, and eventually how it makes a difference between system and user
time ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference