-Ll: Write Statistics Output to File

Group

OUTPUT

Scope

Compilation Unit

Syntax
  -Ll[=<filename>] 
  
Arguments

<filename>: file to be used for the output

Default

The default output filename is logfile.txt

Defines

None

Pragmas

None

Description

The -Ll option causes the Compiler to append statistical information about the compilation session to the specified file. Compiler options, code size (in bytes), memory usage (in bytes) and compilation time (in seconds) are given for each procedure of the compiled file. The information is appended to the specified filename (or the file make.txt, if no argument given). If the TEXTPATH: Text File Path environment variable is set, the file is stored into the path specified by the environment variable. Otherwise it is stored in the current directory.

Example

The following listing is an example where the use of the -L1 compiler options allows statistical information to be added to the end of an output listing file.

Listing: Statistical information appended to an assembler listing

-Ll=mylog.txt 
/* fun.c */ 
int Func1(int b) { 
 int a = b+3; 
 return a+2; 
} 
void Func2(void) { 
}

Appends the following two lines into mylog.txt:

fun.c Func1 -Ll=mylog.txt   11  4 0.055000

fun.c Func2 -Ll=mylog.txt       1  0 0.001000