home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.eng.gtefsd.com!emory!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!tamsun.tamu.edu!ttivision1!ashok
- From: ashok@ttivision1.tamu.edu (ashok rao)
- Newsgroups: comp.unix.programmer
- Subject: How to use getrusage() on SPARC?
- Date: 28 Jan 1993 05:31:13 GMT
- Organization: Texas Transportation Institute
- Lines: 20
- Distribution: usa
- Message-ID: <1k7r31INN71b@tamsun.tamu.edu>
- NNTP-Posting-Host: ttivision1.tamu.edu
-
- hi folks,
-
- I need to use getrusage() to find how long it
- takes for a certain segment of code to run.
-
- getrusage(--
-
- CODE HERE
-
- getrusage(--
-
-
- I'd like to know if any one has done this or if this
- is the right way to find the time for the certain code.
-
- Proven answers are welcome.
-
- thanks
- arao
- ashok@ttivision1.tamu.edu
-