This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A sick idea - mmapped file output
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: A sick idea - mmapped file output
- From: Sam TH <sam at uchicago dot edu>
- Date: Fri, 3 Nov 2000 00:16:25 -0600
- Cc: gcc at gcc dot gnu dot org
- References: <20001102214053.G322@wolery.stanford.edu>
On Thu, Nov 02, 2000 at 09:40:53PM -0800, Zack Weinberg wrote:
> - Does it generate three identical files, each 32MB, when run? They
> will be named mmapexpt.{stu,cle,hcl}. The actual contents of each
> file are not interesting, and they're binary garbage, so don't cat
> them.
> - What's the timing report say?
[sam@bur-jud-175-135 sam]$ ./a.out
usr sys wall
stupid 838 113 1105
clever 617 36 693
signal 593 223 1220
[sam@bur-jud-175-135 sam]$ ls mm*
-rw-r--r-- 1 sam sam 33554432 Nov 3 00:11 mmapexpt.cle
-rw-r--r-- 1 sam sam 33554432 Nov 3 00:11 mmapexpt.hcl
-rw-r--r-- 1 sam sam 33554432 Nov 3 00:11 mmapexpt.stu
[sam@bur-jud-175-135 sam]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
sam th
sam@uchicago.edu
http://www.abisource.com/~sam/
GnuPG Key:
http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC
PGP signature