-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

Using the -Ll option, the Compiler appends statistical information about the compilation session to the specified file. The information includes Compiler options, code size (in bytes), stack usage (in bytes) and compilation time (in seconds) for each procedure of the compiled file. The Compiler appends the information to the specified filename (or the file make.txt, if no argument given). Set the TEXTPATH environment variable (refer TEXTPATH: Text File Path) to store the file into the path specified by the environment variable. Otherwise the Compiler stores the file in the current directory.

Example

The following listing uses the -L1 compiler options to add statistical information to the end of an output listing file.

Listing: Statistical Information Appended to Assembler Listing


-Ll=mylog.txt
/* myfun.c */

int Func1(int b) {

  int a = b+3;

  return a+2;

}

void Func2(void) {

}

Appends the following two lines into mylog.txt:

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

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