From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 07:20:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F197106564A for ; Fri, 2 Mar 2012 07:20:01 +0000 (UTC) (envelope-from maninya@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01F138FC08 for ; Fri, 2 Mar 2012 07:20:00 +0000 (UTC) Received: by ghrr20 with SMTP id r20so744530ghr.13 for ; Thu, 01 Mar 2012 23:20:00 -0800 (PST) Received-SPF: pass (google.com: domain of maninya@gmail.com designates 10.236.76.234 as permitted sender) client-ip=10.236.76.234; Authentication-Results: mr.google.com; spf=pass (google.com: domain of maninya@gmail.com designates 10.236.76.234 as permitted sender) smtp.mail=maninya@gmail.com; dkim=pass header.i=maninya@gmail.com Received: from mr.google.com ([10.236.76.234]) by 10.236.76.234 with SMTP id b70mr11456599yhe.125.1330672800458 (num_hops = 1); Thu, 01 Mar 2012 23:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=khfpokl72GtE8cU5kRk5ZbW8r70P+pVAsm6qozNbj+A=; b=w1V1UwWOXHOM8sZwbrAe+WSNAJ7WprmRFElweLCCpPknoV+kPbSEhzkClJFhvHMSxp +TeD5DrU1tRfPCVP5S8YyvV3CqGRKYMUq6ZOdJ7jPdI4gjI7y41g0M1Y8DQb7RoijKhF VCIyqthcduO11ZKGmjgcnza1byDcDQdM3k/X1Q/MdCsQYCt2LqrUyoEDuQbKKq8qZVUe F3zvGMkd5QE7V0ua3JzoWvE44j5wgHH21c9B7jX6uinE0+rqu8fyizM7aj6Kvp4JJggP NjCtGe3SghLMM7qIpWaS+iYeWcURjIxv5jsvsODhnXyNYsq5lX7zhZAxQctjB4kj/usW aqsw== MIME-Version: 1.0 Received: by 10.236.76.234 with SMTP id b70mr9072085yhe.125.1330672800415; Thu, 01 Mar 2012 23:20:00 -0800 (PST) Received: by 10.146.240.5 with HTTP; Thu, 1 Mar 2012 23:20:00 -0800 (PST) Date: Fri, 2 Mar 2012 12:50:00 +0530 Message-ID: From: Maninya M To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: CPUID and CPU STATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 07:20:01 -0000 I was unable to get this information about the cpuid variable in the scheduler source code. How does cpuid get its value from the hardware? How is the CPUSTATES value obtained/changed with hardware in the source code? Which system commands for the above? -- Maninya