CPU utilization

Randall Stewart rrs at cisco.com
Thu Apr 12 12:59:33 UTC 2007


Dag-Erling Smørgrav wrote:
> Randall Stewart <rrs at cisco.com> writes:
>> Sure.. dumb question though.. whats the magic cookie to pin
>> something on a cpu.. is it a system call or is there a "shell" tool
>> that will do it?
> 
> Neither.  There is a kernel function to tie a thread to a CPU, but it
> is not exported to userland.
> 
> DES
Ahh.. hmm not sure how to setup my tests to do this then.. since
my test tools are all in user land :-(

R

-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)


More information about the freebsd-current mailing list