diff options
Diffstat (limited to 'qt/time')
-rw-r--r-- | qt/time/.cvsignore | 1 | ||||
-rw-r--r-- | qt/time/Makefile.am | 5 | ||||
-rw-r--r-- | qt/time/Makefile.in | 188 | ||||
-rw-r--r-- | qt/time/README.time | 17 | ||||
-rwxr-xr-x | qt/time/assim | 42 | ||||
-rwxr-xr-x | qt/time/cswap | 37 | ||||
-rwxr-xr-x | qt/time/go | 43 | ||||
-rwxr-xr-x | qt/time/init | 42 | ||||
-rwxr-xr-x | qt/time/prim | 41 | ||||
-rwxr-xr-x | qt/time/raw | 58 |
10 files changed, 0 insertions, 474 deletions
diff --git a/qt/time/.cvsignore b/qt/time/.cvsignore deleted file mode 100644 index f3c7a7c5d..000000000 --- a/qt/time/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/qt/time/Makefile.am b/qt/time/Makefile.am deleted file mode 100644 index d56f14496..000000000 --- a/qt/time/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -## Process this file with automake to produce Makefile.in. - -AUTOMAKE_OPTIONS = foreign - -EXTRA_DIST = README.time assim cswap go init prim raw diff --git a/qt/time/Makefile.in b/qt/time/Makefile.in deleted file mode 100644 index 4df1b4c8e..000000000 --- a/qt/time/Makefile.in +++ /dev/null @@ -1,188 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -AWK = @AWK@ -CC = @CC@ -CPP = @CPP@ -GUILE_LIBS = @GUILE_LIBS@ -GUILE_MAJOR_VERSION = @GUILE_MAJOR_VERSION@ -GUILE_MINOR_VERSION = @GUILE_MINOR_VERSION@ -GUILE_STAMP = @GUILE_STAMP@ -GUILE_VERSION = @GUILE_VERSION@ -LD = @LD@ -LIBLOBJS = @LIBLOBJS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -NM = @NM@ -PACKAGE = @PACKAGE@ -QTHREAD_LTLIBS = @QTHREAD_LTLIBS@ -RANLIB = @RANLIB@ -THREAD_CPPFLAGS = @THREAD_CPPFLAGS@ -THREAD_LIBS_INSTALLED = @THREAD_LIBS_INSTALLED@ -THREAD_LIBS_LOCAL = @THREAD_LIBS_LOCAL@ -THREAD_PACKAGE = @THREAD_PACKAGE@ -VERSION = @VERSION@ -qtdmdb_s = @qtdmdb_s@ -qtmd_h = @qtmd_h@ -qtmdc_c = @qtmdc_c@ -qtmds_s = @qtmds_s@ - -AUTOMAKE_OPTIONS = foreign - -EXTRA_DIST = README.time assim cswap go init prim raw -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../libguile/scmconfig.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --foreign qt/time/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = qt/time - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign qt/time/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -rm -f libtool - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/qt/time/README.time b/qt/time/README.time deleted file mode 100644 index 4bb190e18..000000000 --- a/qt/time/README.time +++ /dev/null @@ -1,17 +0,0 @@ -The program `raw', when run in `..' runs the program `run' produced -from `meas.c'. It produces a raw output file (see `../tmp/*.raw'). -`raw' will die with an error if run in the current directory. Note -that some versions of `time' produce output in an unexpected format; -edit them by hand. - -`prim', `init', `cswap' and `go' produce formatted table entries used -in the documentation (in `../doc'). For example, from `..', - - foreach i (tmp/*.raw) - time/prim $i - end - -See notes in the QuickThreads document about the applicability of -these microbenchmark measurements -- in general, you can expect all -QuickThreads operations to be a bit slower when used in a real -application. diff --git a/qt/time/assim b/qt/time/assim deleted file mode 100755 index 6c4c52183..000000000 --- a/qt/time/assim +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/awk -f - -BEGIN { - nmach = 0; - - init_test = "1"; - abort_test = "6"; - blocki_test = "7"; - block_test = "8"; -} - -{ - mach = $1 - test = $2 - iter = $3 - time = $6 + $8 - - if (machi[mach] == 0) { - machn[nmach] = mach; - machi[mach] = 1; - ++nmach; - } - - us_per_op = time / iter * 1000000 - times[mach "_" test] = us_per_op; -} - - -END { - for (i=0; i<nmach; ++i) { - m = machn[i]; - init = times[m "_" init_test]; - printf ("init %s | %f\n", m, init); - - init_abort_blocki = times[m "_" abort_test]; - abort_blocki = init_abort_blocki - init; - blocki = times[m "_" blocki_test]; - abort = abort_blocki - blocki; - blockf = times[m "_" block_test]; - printf ("swap %s | %f | %f | %f\n", m, abort, blocki, blockf); - } -} diff --git a/qt/time/cswap b/qt/time/cswap deleted file mode 100755 index 0ec811bcd..000000000 --- a/qt/time/cswap +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/awk -f - -BEGIN { - purpose = "report time used by int only and int+fp cswaps"; - - nmach = 0; - - test_int = "7"; - test_fp = "8"; -} - -{ - mach = $1 - test = $2 - iter = $3 - time = $6 + $8 - - if (machi[mach] == 0) { - machn[nmach] = mach; - machi[mach] = 1; - ++nmach; - } - - us_per_op = time / iter * 1000000 - times[mach "_" test] = us_per_op; -} - - -END { - for (i=0; i<nmach; ++i) { - m = machn[i]; - - integer = times[m "_" test_int]; - fp = times[m "_" test_fp]; - printf ("%s|%3.1f|%3.1f\n", m, integer, fp); - } -} diff --git a/qt/time/go b/qt/time/go deleted file mode 100755 index 489d53882..000000000 --- a/qt/time/go +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/awk -f - -BEGIN { - purpose = "report times used for init/start/stop"; - - nmach = 0; - - test_single = "6"; - test_v0 = "10"; - test_v2 = "11"; - test_v4 = "12"; - test_v8 = "13"; -} - -{ - mach = $1 - test = $2 - iter = $3 - time = $6 + $8 - - if (machi[mach] == 0) { - machn[nmach] = mach; - machi[mach] = 1; - ++nmach; - } - - us_per_op = time / iter * 1000000 - times[mach "_" test] = us_per_op; -} - - -END { - for (i=0; i<nmach; ++i) { - m = machn[i]; - - single = times[m "_" test_single]; - v0 = times[m "_" test_v0]; - v2 = times[m "_" test_v2]; - v4 = times[m "_" test_v4]; - v8 = times[m "_" test_v8]; - printf ("%s|%3.1f|%3.1f|%3.1f|%3.1f|%3.1f\n", m, single, v0, v2, v4, v8); - } -} diff --git a/qt/time/init b/qt/time/init deleted file mode 100755 index 8bcbf3428..000000000 --- a/qt/time/init +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/awk -f - -BEGIN { - purpose = "Report time used to initialize a thread." - nmach = 0; - - test_single = "1"; - test_v0 = "14"; - test_v2 = "15"; - test_v4 = "16"; - test_v8 = "17"; -} - -{ - mach = $1 - test = $2 - iter = $3 - time = $6 + $8 - - if (machi[mach] == 0) { - machn[nmach] = mach; - machi[mach] = 1; - ++nmach; - } - - us_per_op = time / iter * 1000000 - times[mach "_" test] = us_per_op; -} - - -END { - for (i=0; i<nmach; ++i) { - m = machn[i]; - - single = times[m "_" test_single]; - v0 = times[m "_" test_v0]; - v2 = times[m "_" test_v2]; - v4 = times[m "_" test_v4]; - v8 = times[m "_" test_v8]; - printf ("%s|%3.1f|%3.1f|%3.1f|%3.1f|%3.1f\n", m, single, v0, v2, v4, v8); - } -} diff --git a/qt/time/prim b/qt/time/prim deleted file mode 100755 index 22b323f6f..000000000 --- a/qt/time/prim +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/awk -f - -BEGIN { - purpose = "report times for microbenchmarks" - - nmach = 0; - - test_callind = "18"; - test_callimm = "18"; - test_addreg = "20"; - test_loadreg = "21"; -} - -{ - mach = $1 - test = $2 - iter = $3 - time = $6 + $8 - - if (machi[mach] == 0) { - machn[nmach] = mach; - machi[mach] = 1; - ++nmach; - } - - ns_per_op = time / iter * 1000000 - times[mach "_" test] = ns_per_op; -} - - -END { - for (i=0; i<nmach; ++i) { - m = machn[i]; - - ind = times[m "_" test_callind]; - imm = times[m "_" test_callimm]; - add = times[m "_" test_addreg]; - load = times[m "_" test_loadreg]; - printf ("%s|%1.3f|%1.3f|%1.3f|%1.3f\n", m, ind, imm, add, load); - } -} diff --git a/qt/time/raw b/qt/time/raw deleted file mode 100755 index 96ae10ad1..000000000 --- a/qt/time/raw +++ /dev/null @@ -1,58 +0,0 @@ -#! /bin/csh - -rm -f timed - -set init=1 -set runone=6 -set blockint=7 -set blockfloat=8 -set vainit0=14 -set vainit2=15 -set vainit4=16 -set vainit8=17 -set vastart0=10 -set vastart2=11 -set vastart4=12 -set vastart8=13 -set bench_regcall=18 -set bench_immcall=19 -set bench_add=20 -set bench_load=21 - -source configuration - -echo -n $config_machine $init $config_init -/bin/time run $init $config_init -echo -n $config_machine $runone $config_runone -/bin/time run $runone $config_runone -echo -n $config_machine $blockint $config_blockint -/bin/time run $blockint $config_blockint -echo -n $config_machine $blockfloat $config_blockfloat -/bin/time run $blockfloat $config_blockfloat - -echo -n $config_machine $vainit0 $config_vainit0 -/bin/time run $vainit0 $config_vainit0 -echo -n $config_machine $vainit2 $config_vainit2 -/bin/time run $vainit2 $config_vainit2 -echo -n $config_machine $vainit4 $config_vainit4 -/bin/time run $vainit4 $config_vainit4 -echo -n $config_machine $vainit8 $config_vainit8 -/bin/time run $vainit8 $config_vainit8 - -echo -n $config_machine $vastart0 $config_vastart0 -/bin/time run $vastart0 $config_vastart0 -echo -n $config_machine $vastart2 $config_vastart2 -/bin/time run $vastart2 $config_vastart2 -echo -n $config_machine $vastart4 $config_vastart4 -/bin/time run $vastart4 $config_vastart4 -echo -n $config_machine $vastart8 $config_vastart8 -/bin/time run $vastart8 $config_vastart8 - -echo -n $config_machine $bench_regcall $config_bcall_reg -/bin/time run $bench_regcall $config_bcall_reg -echo -n $config_machine $bench_immcall $config_bcall_imm -/bin/time run $bench_immcall $config_bcall_imm -echo -n $config_machine $bench_add $config_b_add -/bin/time run $bench_add $config_b_add -echo -n $config_machine $bench_load $config_b_load -/bin/time run $bench_load $config_b_load |