Implementation and Performance Evaluation of Omni Compiler
83
4.3.2 tlog
Omni compiler package contains tlog that measures executing time of the XMP
directives.
When profiling all XMP directives that exist in code, please add the
“--profile tlog” option to a compile command.
$ xmpcc --profile tlog a.c
When profiling selected XMP directives there, please add the “profile” clause
to the directives as in Sect. 4.3.1 and the “--selective-profile tlog”
option to a compile command.
$ xmpcc --selective-profile tlog a.c
After executing a program, tlog generates a file “trace.log” which stores
profiling results. To open the result, please use the “tlogview” command.
Figure 6 shows an example of profiling by tlog.
$ tlogview trace.log
Fig. 6 Profile by tlog (https://omni-compiler.org)
Précédent

- 90/265

Suivant