From owner-freebsd-hackers Sun Nov 22 06:59:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13815 for freebsd-hackers-outgoing; Sun, 22 Nov 1998 06:59:15 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13810 for ; Sun, 22 Nov 1998 06:59:14 -0800 (PST) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun1.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id JAA29218 for ; Sun, 22 Nov 1998 09:58:36 -0500 (EST) Date: Sun, 22 Nov 1998 09:58:36 -0500 (EST) From: zhihuizhang X-Sender: bf20761@bingsun1 To: hackers Subject: How to time system calls? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a question on how to record the time it takes to execute a system call. I have heard of something like profile and trace. Could any one give me some hints and, preferebly, point out where is the source code I can insert statements to time a system call? Thanks for any help. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message