Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ub!curtis From: curtis@sybil.cs.Buffalo.EDU (Ronald Curtis) Newsgroups: comp.lang.modula2 Subject: timing programs with Metrowerks Mod 2 on Macs Message-ID: <66570@eerie.acsu.Buffalo.EDU> Date: 20 Mar 91 18:44:28 GMT Sender: news@acsu.Buffalo.EDU Distribution: na Organization: State University of New York at Buffalo/Comp Sci Lines: 17 Nntp-Posting-Host: sybil.cs.buffalo.edu Originator: curtis@sybil.cs.Buffalo.EDU Does anyone know a way to time programs using the Student version of Metrowerks Mac Mod2? That is, does anyone have a procedure "gettime" so that students can determine the time used by their program? eg x := gettime code to be timed goes here y := gettime timeused := y-x The goal is to have them develop two implementation modules for a single def and compare the results analytically and experimentally. -- * Ronald Curtis, Computer Science Dept., SUNY at Buffalo, Buffalo, NY 14260 * * OFFICE: 235 Bell Hall TELEPHONE: (716) 636-3185 CSNET: curtis@buffalo.csnet * * BITNET: curtis%cs.buffalo.edu@ubvm.bitnet UUCP: {apple, cornell,decwrl, * * harvard,rutgers,talcott,ucbvax,uunet}!cs.buffalo.edu!curtis *