RE: Determining CPU on SMP box

2000-10-25 Thread Christopher Harrer
: Tuesday, October 24, 2000 4:48 PM To: Christopher Harrer Cc: Freebsd-Hackers Subject: Re: Determining CPU on SMP box Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine

RE: Determining CPU on SMP box

2000-10-25 Thread Christopher Harrer
I'm using version 4.1. Thanks, Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Lehey Sent: Tuesday, October 24, 2000 11:59 PM To: Christopher Harrer Cc: Freebsd-Hackers Subject: Re: Determining CPU on SMP box On Tuesday, 24 October 2000

Determining CPU on SMP box

2000-10-24 Thread Christopher Harrer
Hello All, Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to be able to "trace" various actions within my driver and one of the fields I

Re: Determining CPU on SMP box

2000-10-24 Thread Mike Smith
Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to be able to "trace" various actions within my driver and one of the fields I want to

Re: Determining CPU on SMP box

2000-10-24 Thread Greg Lehey
On Tuesday, 24 October 2000 at 7:37:12 -0400, Christopher Harrer wrote: Hello All, Is there a way to determine which CPU I'm currently executing on in a SMP box? I've found references to proc-p_oncpu, but I'm not sure if this is the best way to determine where I'm executing. I'd like to