Xref: utzoo comp.unix.questions:28708 comp.unix.wizards:24120 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!umbc3!math9.math.umbc.edu!rouben From: rouben@math9.math.umbc.edu (Rouben Rostamian) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Counting FLOPS Message-ID: <5025@umbc3.UMBC.EDU> Date: 15 Feb 91 00:40:44 GMT Sender: newspost@umbc3.UMBC.EDU Reply-To: rouben@math9.math.umbc.edu Organization: Mathematics Department University of Maryland, Baltimore County Lines: 16 How does one count the number of floating point operations (flops) during the execution of a C program? I guess it is possible to trace manually all loops and function calls and iterations and recursions, etc., and add them up, but that will easily gets out of hand for a half-way complicated program. Are there automatic tools for doing this? I am primarily interested in a solution which will work under RISC Ultrix, if that matters. Rouben Rostamian -- Rouben Rostamian Telephone: (301) 455-2458 Department of Mathematics and Statistics e-mail: University of Maryland Baltimore County bitnet: rostamian@umbc.bitnet Baltimore, MD 21228, U.S.A. internet: rouben@math9.math.umbc.edu