summaryrefslogtreecommitdiff
path: root/perf
AgeCommit message (Collapse)AuthorFilesLines
2011-04-03git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 ↵bart2-5/+6
a5019735-40e9-0310-863c-91ae7b9d1cf9
2010-05-03Update copyright dates to 2010.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-07-01Remove the --all option from vg_perf. It's useless now that there arenjn1-17/+1
tool-specific tests in massif/perf/ and memcheck/perf/. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10390 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-06-24This commit merges the BUILD_TWEAKS branch onto the trunk. It has thenjn1-2/+2
following improvements: - Arch/OS/platform-specific files are now included/excluded via the preprocessor, rather than via the build system. This is more consistent (we use the pre-processor for small arch/OS/platform-specific chunks within files) and makes the build system much simpler, as the sources for all programs are the same on all platforms. - Vast amounts of cut+paste Makefile.am code has been factored out. If a new platform is implemented, you need to add 11 extra Makefile.am lines. Previously it was over 100 lines. - Vex has been autotoolised. Dependency checking now works in Vex (no more incomplete builds). Parallel builds now also work. --with-vex no longer works; it's little use and a pain to support. VEX/Makefile is still in the Vex repository and gets overwritten at configure-time; it should probably be renamed Makefile-gcc to avoid possible problems, such as accidentally committing a generated Makefile. There's a bunch of hacky copying to deal with the fact that autotools don't handle same-named files in different directories. Julian plans to rename the files to avoid this problem. - Various small Makefile.am things have been made more standard automake style, eg. the use of pkginclude/pkglib prefixes instead of rolling our own. - The existing five top-level Makefile.am include files have been consolidated into three. - Most Makefile.am files now are structured more clearly, with comment headers separating sections, declarations relating to the same things next to each other, better spacing and layout, etc. - Removed the unused exp-ptrcheck/tests/x86 directory. - Renamed some XML files. - Factored out some duplicated dSYM handling code. - Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting Makefile.am files to be much more standard. - Cleaned up m_coredump by merging a bunch of files that had been overzealously separated. The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude the added Makefile.vex.am, or 997 once the hacky file copying for Vex is removed. And the build system is much simpler. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-04-15Merge r9533..9536 (add tests/{asm.h,sys_mman.h,malloc.h} from the DARWINnjn3-7/+6
branch. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9537 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-03-10Updated copyright years.njn1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-25Remove WERROR. It's not much use because getting Valgrind to build withoutnjn1-1/+1
errors on all platforms is very difficult. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9267 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-23Fix some more 'make check' warnings, ones that appear on non-Linuxnjn1-1/+1
platforms. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9238 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-23Get rid of all "make check" compile warnings, except for the ones fromnjn2-12/+20
fxtract.c. Also, gets rid of some of the warnings that -Wextra finds in Massif. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9237 a5019735-40e9-0310-863c-91ae7b9d1cf9
2009-02-19Various build system clean-ups and simplifications:njn1-2/+1
- Created Makefile.tool-tests.am, put standard AM_CFLAGS et al for tests in it. - A number of tests are shared between Helgrind and DRD. They used to be built in both directories. Now they are only built in helgrind/tests/, and the DRD .vgtest files just point to the executable in helgrind/tests/. Most of these (about 30) had the source files in helgrind/tests/; I moved the three that were in drd/tests/ into helgrind/tests/ for consistency. - Fixed rwlock_test, which was failing to run due to a wrong name in the .vgtest file. - Removed remnants of unused 'hello' test for Memcheck. - Avoided redundant flag specification in various places, esp. memcheck/tests/Makefile.am. - Removed unnecessary _AIX guards in some Linux-only tests. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9202 a5019735-40e9-0310-863c-91ae7b9d1cf9
2008-02-11Update copyright dates ("200X-2007" --> "200X-2008").sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7398 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-08-27updating licensing wordingdirk1-2/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6782 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-02-02Simplify some Perl.njn1-2/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6569 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-01-08Update copyright dates.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6488 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-12-28Avoid name clash on ppc64-linux.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6452 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-11-22An extension of the previous commit: the vg_perf --tools option is so usefulnjn9-26/+5
that I got rid of the "tools:" line in the .vg_perf files. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6364 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-11-22Add a useful --tools option to vg_perf, which lets you override the "tools"njn1-4/+12
line in the .vgperf files from the command line. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6363 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-11-03Just use the first two letters of the toolname as the abbreviation.njn1-11/+4
Saves having to maintain a table of toolnames and abbreviations. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6344 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-11-03Fix for nested subdirsnjn1-1/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6343 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-11-03Perf script: njn1-1/+2
- always trace into children - addrcheck no longer exists git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6342 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17AIX build fixes.sewardj1-10/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6308 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17Merge r6207: sewardj1-4/+5
Make vg_perf work on AIX, by using the POSIX-portability flag for /usr/bin/time. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6304 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17Merge r6205:sewardj1-1/+1
AIX requires that in the case of MAP_ANONYMOUS, fildes must be -1. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6302 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17Merge r6216:sewardj1-11/+11
Fix all the places where gcc complains about casts from pointers (presumably 64 bit) to integers of different size (in this case, 32-bit int). This makes it compile cleanly on 64-bit AIX and also means it doesn't crash :-) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6297 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17Merge r6121: Don't define uchar; it might already be defined.sewardj1-2/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6260 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-14Print native time to two places. Perhaps it would be better to adjustsewardj1-1/+1
the workloads to make some of the native runs take longer. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6222 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-06-05Update copyright dates.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5954 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-04-06Fix vg_perf to work with older Valgrind versions.njn1-2/+5
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5833 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-03-30Avoid compile warnings for tinycc.njn2-9/+11
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5801 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-03-27Avoid unnecessary whitespace at end of printed lines.njn1-4/+4
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5790 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-01-22Use the bz2 test in perf/ as a regression-test, just as a moderatelysewardj1-6/+40
complex integer program which exercises Vex a bit. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5585 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-01-22rm unneeded headerssewardj3-42/+0
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5584 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-01-09Unbreak make dist.sewardj1-1/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5506 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-01-04Somewhat rehash the biarch-build machinery so as to (1) formalise thesewardj1-2/+5
distinction between primary and secondary build targets, and (2) make it independent of the default behaviour of gcc (iow, what gcc does when you specify neither -m32 nor -m64). As a result, an out-of-the-box build on ppc64-linux now builds a system which is basically for 64-bit PowerPC, but also has the ability to run 32-bit ppc-linux binaries (exactly the same arrangement as you get when building on amd64-linux). There are various twists and turns. multiple-architectures.txt is updated all the gory details. This will break amd64 builds until such time as <tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-28In fbench, compute sin/cos/sqrt from "first principles", so that thesewardj2-3/+14
program more uniformly measures the speed of FP +/-/* load/store across different architectures. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5455 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-26Attempt to make tinycc work on ppc32, by (1) getting rid of varioussewardj4-49/+5795
x86 isms in tinycc.c, (2) giving it a fixed, preprocessed input file to chew on, and (3) just compiling to a .o with no attempt to link. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5439 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-25add extra note about tinyccnjn1-1/+3
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5436 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-23Change default --reps value from 3 to 1.njn1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5423 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-20Add a new performance benchmark: tinycc.njn6-4/+21909
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5394 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-17Add a malloc/free stress test.njn5-3/+54
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5362 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-15Improvments to vg_perf:njn1-2/+18
- show percentage speedup over the first Valgrind when comparing multiple Valgrind - don't accept --reps < 0 - avoid div-by-zero if the runtime is measured as zero git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5348 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-15Make this work on platforms where r != x.sewardj1-2/+7
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5347 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-14Added a stress test which measures the cost of translation.njn5-9/+101
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5341 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-14Ensure that f() doesn't get inlined.njn1-1/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5340 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-14Add --vg option to vg_perf, which lets you specify one or more Valgrindsnjn1-48/+63
to time, and presents their timings in an easy-to-compare way. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5339 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-13whoopsnjn1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5338 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-13Added a --reps option to control how many times each program is run.njn1-5/+14
Also added a better help message. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5336 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-13remove bogus whitespacenjn1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5335 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-13Die if a performance benchmark is missing.njn1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5334 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-12-13Use user time instead of wall-clock time.njn1-5/+5
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5332 a5019735-40e9-0310-863c-91ae7b9d1cf9