fmII
Mon, Oct 13th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 06:34 UTC
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]

 FunctionCheck - Development branch
Section: Unix

 

Added: Mon, Dec 11th 2000 12:08 UTC (7 years, 10 months ago) Updated: Mon, Jul 4th 2005 22:12 UTC (3 years, 3 months ago)


About:
FunctionCheck is a profile generator for C/C++ programs. It uses the gcc '-finstrument-functions' feature to track each function entry and exit. It computes local and total times in functions, the number of calls, the average time per call, and function calls. It can also count time spent in sub-functions not compiled with '-finstrument-functions'. The time balance between functions is always respected. It also can trace memory allocations and report on memory leaks, showing the call stack leading up to the allocation of the leaked blocks.

Author:
Yannick Perret <yperret (at) ligim (dot) univ (dash) lyon1 (dot) fr> [contact developer]

Rating:
8.36/10.00 (1 vote)

Homepage:
http://www.highlandsun.com/hyc/
Tar/GZ:
http://www.highlandsun.com/hyc/fncchk154.tgz

Trove categories: [change]
[Intended Audience]  Developers
[License]  OSI Approved :: GNU General Public License (GPL)
[Topic]  Software Development

Dependencies: [change]
No dependencies filed

 
» Rating: 8.36/10.00 (Rank N/A)
» Vitality: 0.00% (Rank 8482)
» Popularity: 1.07% (Rank 5407)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 10,782
   URL hits: 4,816
   Subscribers: 27

Other projects from the same categories:
OpenSLP
dtoGen
The Parma University's Recurrence Relation Solver
DVDx InfoTool
Thorn

Users who subscribed to this project also subscribed to:
mimetic
Yasm
MailBridge
Advanced Bash Scripting Guide
libogg


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Development 1.5.4 05-Jul-2005 GNU General Public License (GPL) Homepage Tar/GZ

 Comments

[»] Exceptions
by edg - Jun 21st 2007 02:28:06

At least 1.5.4 doesn't seem to handle exceptions well. Functions that exit with exceptions result in having some unrealistic timings.

[reply] [top]


[»] Installation
by edg - Jun 20th 2007 09:28:51

There were 2 errors I encountered during installation.
1) fncmalloc.c:34: error: `RTLD_NEXT' undeclared
2) /home/edg/FunctionCheck/fnccheck/test/sub.c:14: undefined reference to `sin'

To fix them, after ./configure is finished I edited config.status changing CFLAGS line to "s%@CFLAGS@%-g -D_GNU_SOURCE -lm -O2%g". -D_GNU_SOURCE is fix for the first error and -lm for the second. Hope this helps any other noob than me.

[reply] [top]


[»] there are 3 forks of this project
by jgabriels - Apr 19th 2006 17:56:30

There are 3 forks of this project
Version 1.4/2.0 is the original and is no
longer being actively developed.
Version 3.0 is a fork that is also dead.
Version 1.5.4 is the only active one and also
the only one that supports amd64 processors.

[reply] [top]


[»] Not for SMP
by Howard Chu - Oct 8th 2005 20:17:33

By the way, the multithreading support barely works on a single-processor system; it is hopeless on SMP. Unfortunately it has no way of knowing when a thread context switch occurs, so the allocation of time to functions is unreliable. It still works fine for single-threaded programs or single-processor machines, but I don't see any easy solutions for making the profiler accurate on a multi-processor machine. At least it's still usable as a malloc tracer, and it doesn't eat up as much address space as valgrind.

[reply] [top]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  Linux.com •  SourceForge.net  •  Jobs