From owner-freebsd-performance@FreeBSD.ORG Sun Dec 19 19:17:36 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC2DC16A4CE for ; Sun, 19 Dec 2004 19:17:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78BE743D2D for ; Sun, 19 Dec 2004 19:17:36 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so90503rne for ; Sun, 19 Dec 2004 11:17:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=M4bmWcZXO80Ux59bKA9ynhPF1AUip+G3fvTxnFwW4yIXKqV3V5nHTGS30UGcDEvY2JMRQBAHz28yG597dA0afRzX8279rOIl479Sj75QiKaLLV78IoCdytfzdBNdZVlPdjEfjE6eyE+9iUDPM2aesC5w+6Ig9QAG4JoW2dIChfA= Received: by 10.38.96.35 with SMTP id t35mr167849rnb; Sun, 19 Dec 2004 11:17:35 -0800 (PST) Received: by 10.38.209.11 with HTTP; Sun, 19 Dec 2004 11:17:35 -0800 (PST) Message-ID: <84dead720412191117a03ac67@mail.gmail.com> Date: Sun, 19 Dec 2004 19:17:35 +0000 From: Joseph Koshy To: freebsd-performance@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Request for Comments] PMC(3) API X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joseph Koshy List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 19:17:36 -0000 I would like to solicit comments on the following API for using CPU performance monitoring counters in FreeBSD. The intent is to use this API to support PAPI and other 'portable' performance monitoring libraries. The manual page is available here: http://people.freebsd.org/~jkoshy/download/pmc.3.txt A small tutorial on the API is available here: http://people.freebsd.org/~jkoshy/projects/perf-measurement/api-tutorial.html Code is being developed in our Perforce repository: http://perforce.freebsd.org/changeList.cgi?FSPC=//depot/user/jkoshy/projects/pmc/...