Generated from profiling.F90 with ROBODoc v3.2.3 on Fri Dec 12 10:37:07 2003

TABLE OF CONTENTS

  1. source/util/tools/profiling
  2. profiling/profile_initialize
  3. profiling/profile_finalize
  4. profiling/profile_start
  5. profiling/profile_end
  6. profiling/profile_define

source/util/tools/profiling

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)


profiling/profile_initialize

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
  


profiling/profile_finalize

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
  


profiling/profile_start

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


profiling/profile_end

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


profiling/profile_define

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