Skip to content
  • Lorenz Huedepohl's avatar
    Allow the user to activate FLOPS/RAM measurements · 3fe6c3d1
    Lorenz Huedepohl authored
    Now, one can select which kind of measurements are taken by calling the
    member functions %measure_flops, and %measure_memory of a timer_t
    object. For example
    
      type(timer_t) :: timer
    
      call timer%measure_flops(.true.)
      call timer%measure_memory(.true.)
    
      call timer%enable()
    
    An explicit ftimings_init() call is now no longer necessary, PAPI will
    be initialized on the first %measure_flops(.true.) call.
    3fe6c3d1