Generated from profiling.F90 with ROBODoc v3.2.3 on Fri Dec 12 10:37:07 2003
TABLE OF CONTENTS
- source/util/tools/profiling
- profiling/profile_initialize
- profiling/profile_finalize
- profiling/profile_start
- profiling/profile_end
- profiling/profile_define
NAME
profiling
DESCRIPTION
Stub profiling routines. Override these routines to create
log files to be analysed with profiling software such
as jumpshot or vampir.
To add a new profiling library, the following hooks need
to be satisfied:
profile_initialize()
profile_finalize()
profile_define(module, i)
profile_start(module, i)
profile_end(module, i)
NAME
profile_initialize
SYNOPSIS
profile_initialize()
DESCRIPTION
Stub profiling routine:
Initialize the profiling library. This is not used for all
the different profiling libraries. This is called once,
through timer_init() in perfmon at the start of execution
of FLASH
ARGUMENTS
NAME
profile_finalize
SYNOPSIS
profile_finalize()
DESCRIPTION
Stub profiling routine:
Close the profiling library. This is called at the end of
execution of FLASH, via perfmon_end(). Not every profiling
library will need to use this routine
ARGUMENTS
NAME
profile_start
SYNOPSIS
profile_start(module, i)
profile_start(character(:), integer)
DESCRIPTION
Stub profiling routine:
Start profiling the routine specified by the module string. This
is called by timer_start, and is used to turn on the profiling
library for the given module.
ARGUMENTS
module module name
i integer
NAME
profile_end
SYNOPSIS
profile_end(module, i)
profile_end(character(:), integer)
DESCRIPTION
Stub profiling routine:
Stop profiling the routine specified by the module string. This
is called by timer_stop.
ARGUMENTS
module module name
i integer
NAME
profile_define
SYNOPSIS
profile_define(module, i)
profile_define(character(:), integer)
DESCRIPTION
Stub profiling routine:
Define a new profile. This is needed for certain profiling
libraries to define a state. This is called once, via
timer_create in the perfmon library. module is a character
string giving the name of the FLASH module being profiled. i
is a unique integer corresponding to the module name, and cane
be used as a tag for the different modules in the profiliing
library
ARGUMENTS
module module name
i integer