Re: Optimization Opportunities 1 [long]


Subject: Re: Optimization Opportunities 1 [long]
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Mon Feb 05 2001 - 10:45:51 CST


On Mon, Feb 05, 2001 at 03:42:08PM +0100, Mike Nordell wrote:
> Yes, but this does not necessarily involves doing this manually.
>
> Since I've also been here before, I'd like to add that *if* you have a
> reasonable profiler, you might want to add a call to abort() (or even
> _asm{ int 3; } using x86) just after the main window has been displayed and
> _everything_ has been drawn. To find out where this is might need some
> tracing, but the benefits are obvious.

  xor eax,eax
  inc eax ; syscall #1
  xor ebx,ebx ; argument: 0 (exit code)
  int 0x80 ; call kernel

is the Right way on i386 Linux.



This archive was generated by hypermail 2b25 : Mon Feb 05 2001 - 10:45:55 CST