Thread (3 messages) flat view 3 messages, 3 authors, 2007-05-10

Re: [PATCH] Performance Stats: Kernel patch

From: Pavel Machek <hidden>
Date: 2007-05-10 12:03:13

Hi!
Patch makes available to the user the following
task and process performance statistics:
	* Involuntary Context Switches (task_struct->nivcsw)
	* Voluntary Context Switches (task_struct->nvcsw)
	* Number of system calls (added new counter
	  thread_info->sysall_count)
	           
Statistics information is available from:
        1. taskstats interface (Documentation/accounting/)
	2. /proc/PID/status (task only).

This data is useful for detecting hyperactivity
patterns between processes.
I was told nvcsw is standard name, but given how other fields are
named ("syscall_counter") I think we should use some more reasonable
name (like "voluntary_ctxt_switches" or something).
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help