From 42b18e6fabb6a983bc758b0b6a4dc79bc06cfffd Mon Sep 17 00:00:00 2001 From: "marko@hundin.mysql.fi" <> Date: Thu, 19 Feb 2004 11:32:07 +0200 Subject: Remove unnecessary files .del-univoldmysql.i~9253a6f92058c565: Delete: innobase/include/univoldmysql.i .del-univold.i~4b5ed652407f63f1: Delete: innobase/include/univold.i .del-tsut.c~4a154913fc9cd5c0: Delete: innobase/ut/ts/tsut.c .del-makefile~9b8356bbdb8bd94e: Delete: innobase/ut/ts/makefile .del-tsttrxold.c~eb6fd6091405d54e: Delete: innobase/trx/ts/tsttrxold.c .del-tstrx.c~5425c98548ec1e0d: Delete: innobase/trx/ts/tstrx.c .del-makefile~16d63c17c8edf62a: Delete: innobase/trx/ts/makefile .del-tsthr.c~b095667070d626a9: Delete: innobase/thr/ts/tsthr.c .del-makefile~d5e4661188c1939d: Delete: innobase/thr/ts/makefile .del-tssync.c~fed4676cd4eb8457: Delete: innobase/sync/ts/tssync.c .del-makefile~f23368879649c806: Delete: innobase/sync/ts/makefile .del-tssrv.c~b8a6f5ad9ae639c8: Delete: innobase/srv/ts/tssrv.c .del-tsdbc.c~d36206bdccf338f: Delete: innobase/srv/ts/tsdbc.c .del-makefile~da6e87ef29c12dca: Delete: innobase/srv/ts/makefile .del-tstcur.c~a9d5cf73b020ec41: Delete: innobase/row/ts/tstcur.c .del-makefile~2cdfe39689004e6: Delete: innobase/row/ts/makefile .del-tsrem.c~bb4e1e2e8c2ee179: Delete: innobase/rem/ts/tsrem.c .del-makefile~3e48a33b4970faef: Delete: innobase/rem/ts/makefile .del-tspage.c~f5baf63f9924e43b: Delete: innobase/page/ts/tspage.c .del-makefile~66de73bc499566f9: Delete: innobase/page/ts/makefile .del-tsosaux.c~9ec97a83392a984c: Delete: innobase/os/ts/tsosaux.c .del-tsos.c~f6057d3c171f5915: Delete: innobase/os/ts/tsos.c .del-makefile~9a1d210afa6d666e: Delete: innobase/os/ts/makefile .del-tsmtr.c~293250c7ebfe0d3: Delete: innobase/mtr/ts/tsmtr.c .del-tsbuf.c~e8d15ee095194d2c: Delete: innobase/mtr/ts/tsbuf.c .del-makefile~fdf4c2a4ddb23230: Delete: innobase/mtr/ts/makefile .del-tsmem.c~cc483e2ab96e625c: Delete: innobase/mem/ts/tsmem.c .del-makefile~6d58ab1de0ac572: Delete: innobase/mem/ts/makefile .del-tsmach.c~af65166bb53ddfe9: Delete: innobase/mach/ts/tsmach.c .del-makefile~b8cbd25992ee51b: Delete: innobase/mach/ts/makefile .del-tsha.c~13dd5ea03fda370c: Delete: innobase/ha/ts/tsha.c .del-makefile~1bf12ce7b2dadfd5: Delete: innobase/ha/ts/makefile .del-tsfsp.c~890ead1636f0eaba: Delete: innobase/fsp/ts/tsfsp.c .del-makefile~a466e9eb27493a80: Delete: innobase/fsp/ts/makefile .del-del.c~35c6283be580200: Delete: innobase/fsp/ts/del.c .del-tsfil.c~e554b6f3c189c081: Delete: innobase/fil/ts/tsfil.c .del-makefile~1df6f952a960fef4: Delete: innobase/fil/ts/makefile .del-tsdyn.c~6f976764b53f3191: Delete: innobase/dyn/ts/tsdyn.c .del-makefile~f64427335fafdc65: Delete: innobase/dyn/ts/makefile .del-tsdict.c~5e82f7b8ac2b2e15: Delete: innobase/dict/ts/tsdict.c .del-makefile~6356c424e9747647: Delete: innobase/dict/ts/makefile .del-tscom.c~26aae2c5c4ca1dce: Delete: innobase/com/ts/tscom.c .del-tscli.c~2f3e4b281141eac2: Delete: innobase/com/ts/tscli.c .del-makefile~608fd39568db7238: Delete: innobase/com/ts/makefile .del-tsos.c~1dadfc1ef69f2ba3: Delete: innobase/buf/ts/tsos.c .del-tsbuf.c~b4c3feee158ef154: Delete: innobase/buf/ts/tsbuf.c .del-makefile~598acb06bf1e466: Delete: innobase/buf/ts/makefile .del-tscli.c~8d35740cc1f6f864: Delete: innobase/btr/ts/trash/tscli.c .del-tssrv.c~ee30b746c485aec: Delete: innobase/btr/ts/tssrv.c .del-tss.c~21ae628550141a68: Delete: innobase/btr/ts/tss.c .del-tsrecv97.c~dbeb3bc494b241c1: Delete: innobase/btr/ts/tsrecv97.c .del-tsrecv.c~3415f8a936a8d9fd: Delete: innobase/btr/ts/tsrecv.c .del-tscli.c~77fc1962db99aa2e: Delete: innobase/btr/ts/tscli.c .del-tsbtrold5.c~72a60e768c944904: Delete: innobase/btr/ts/trash/tsbtrold5.c .del-tsbtrins.c~3e3bb3f95f058b46: Delete: innobase/btr/ts/tsbtrins.c .del-TSIT.C~f53cce6fab8d325: Delete: innobase/btr/ts/trash/TSIT.C .del-tsbtrfull.c~fbcbe41b64cc71b6: Delete: innobase/btr/ts/tsbtrfull.c .del-tsbtr97.c~84dbb84ea9fa267c: Delete: innobase/btr/ts/tsbtr97.c .del-makefile~491918b4162b927c: Delete: innobase/btr/ts/makefile .del-isql.c~bc0b8cc213905175: Delete: innobase/btr/ts/isql.c --- innobase/mach/ts/makefile | 12 ---- innobase/mach/ts/tsmach.c | 158 ---------------------------------------------- 2 files changed, 170 deletions(-) delete mode 100644 innobase/mach/ts/makefile delete mode 100644 innobase/mach/ts/tsmach.c (limited to 'innobase/mach') diff --git a/innobase/mach/ts/makefile b/innobase/mach/ts/makefile deleted file mode 100644 index e9531e6ebe0..00000000000 --- a/innobase/mach/ts/makefile +++ /dev/null @@ -1,12 +0,0 @@ - -include ..\..\makefile.i - -tsmach: ..\mach.lib tsmach.c - $(CCOM) $(CFL) -I.. -I..\.. ..\mach.lib ..\..\ut.lib ..\..\os.lib tsmach.c $(LFL) - - - - - - - diff --git a/innobase/mach/ts/tsmach.c b/innobase/mach/ts/tsmach.c deleted file mode 100644 index a4b67227d20..00000000000 --- a/innobase/mach/ts/tsmach.c +++ /dev/null @@ -1,158 +0,0 @@ -/************************************************************************ -The test module for the machine-dependent utilities - -(c) 1995 Innobase Oy - -Created 11/28/1995 Heikki Tuuri -*************************************************************************/ - -#include "../mach0data.h" - -byte arr[4000000]; - - -/********************************************************************* -Test for ulint write and read. */ - -void -test1(void) -/*=======*/ -{ - ulint a, i, j; - ulint tm, oldtm; - - printf("-------------------------------------------\n"); - printf("TEST 1. Speed test of ulint read and write \n"); - - a = 0; - - oldtm = ut_clock(); - - for (j = 0; j < 100; j++) { - for (i = 0; i < 10000; i++) { - - a += mach_read_from_4(arr + i * 4); - } - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - j * i, tm - oldtm); - - oldtm = ut_clock(); - - for (j = 0; j < 100; j++) { - for (i = 0; i < 10000; i++) { - - a += mach_read(arr + i * 4); - } - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - j * i, tm - oldtm); - - oldtm = ut_clock(); - - for (j = 0; j < 100; j++) { - for (i = 0; i < 10000; i++) { - - a += mach_read_from_4(arr + i * 4 + 1); - } - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - j * i, tm - oldtm); - oldtm = ut_clock(); - - for (j = 0; j < 100; j++) { - for (i = 0; i < 10000; i++) { - - a += mach_read(arr + i * 4 + 1); - } - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - j * i, tm - oldtm); - - oldtm = ut_clock(); - - for (i = 0; i < 1000000; i++) { - - a += mach_read_from_4(arr + i * 4); - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - i, tm - oldtm); - oldtm = ut_clock(); - - for (i = 0; i < 1000000; i++) { - - a += mach_read(arr + i * 4); - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu ulints %lu millisecs\n", - i, tm - oldtm); - - oldtm = ut_clock(); - - for (j = 0; j < 100; j++) { - for (i = 0; i < 10000; i++) { - - a += mach_read_from_2(arr + i * 2); - } - } - - tm = ut_clock(); - - printf("Wall clock time for read of %lu 16-bit ints %lu millisecs\n", - j * i, tm - oldtm); -} - -/********************************************************************* -Test for ulint write and read. */ - -void -test2(void) -/*=======*/ -{ - ulint a[2]; - - printf("-------------------------------------------\n"); - printf("TEST 2. Correctness test of ulint read and write \n"); - - mach_write_to_4((byte*)&a, 737237727); - - ut_a(737237727 == mach_read_from_4((byte*)&a)); - - mach_write_to_2((byte*)&a, 7372); - - ut_a(7372 == mach_read_from_2((byte*)&a)); - - mach_write_to_1((byte*)&a, 27); - - ut_a(27 == mach_read_from_1((byte*)&a)); - - mach_write((byte*)&a, 737237727); - - ut_a(737237727 == mach_read((byte*)&a)); -} - -void -main(void) -{ - test1(); - test2(); - - printf("TEST SUCCESSFULLY COMPLETED!\n"); -} -- cgit v1.2.1