Hi,

I have performed a number of experiments using a full-system simulator, which 
means that I have statistics that both contain user-level values as well as 
system-level values.

I have some issues with separating statistics into a user-level cathegory and a 
system-level cathegory. The problem is that I don't exactly know when I pass 
the boundary between user-level space and systen-level space. 

My guess is that the scheduler is activated every OS tick, so I need to put 
some "markers" at the beginning of the main scheduler function and at the end 
of it. Is the scheduler function in the /uts/common/disp/disp.c file? If yes, 
which function is it?

Secondly, there are interrupts, which I think I have isolated well already.

Apart from scheduling and interrupts, are there any other occurences that I 
should put in the system-level category?

Of course, if there is a simpler way to "detect" system-level execution from 
user-level execution I would be happy to head about it.

Regards,
Mladen
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to