On 11/04/05 08:11, Andrei Dorofeev wrote:

BEGIN
{
        ncpu = 2; /* XXX Can DTrace give us ncpus? */
}

Yes `ncpus will give you access to the kernel variable ncpus.
Qualify with a module name if necessary, as in unix`ncpus.

Cheers

Gavin
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to