- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
{$ifdef Profile}
{$define __TRACE__:= try Profile_TraceCall}
{$define __END__:=finally Profile_LeaveCall; end;}
{$else}
{$define __TRACE__:= //}
{$define __END__:=}
{$endif}
procedure Foo();
begin
__TRACE__('Foo');
...
__END__
end;
LispGovno 28.04.2013 08:30 # −1
runewalsh 28.04.2013 15:02 # 0