packages/Utils/comm/Timing_Diagnostics.cc
//---------------------------------------------------------------------------//
// STATIC PUBLIC FUNCTIONAL INTERFACE
//---------------------------------------------------------------------------//
/*!
 * \brief Add to a specified timer.
 *
 * This functions adds value to the timer with name key.  The first time this
 * is called the value is added to zero.  The timers are all static, so
 * multiple calls to the same key will keep a running tally.  To reset, call
 * reset_timer().
 *
 * Calling this function adds the timer with name key to the map of timers.
 */
STATIC PUBLIC FUNCTIONAL INTERFACE
\brief Add to a specified timer.

This functions adds value to the timer with name key.  The first time this
is called the value is added to zero.  The timers are all static, so
multiple calls to the same key will keep a running tally.  To reset, call
reset_timer().

Calling this function adds the timer with name key to the map of timers.
STATIC PUBLIC FUNCTIONAL INTERFACE \ brief Add to a specified timer . This functions adds value to the timer with name key . The first time this is called the value is added to zero . The timers are all static so multiple calls to the same key will keep a running tally . To reset call reset_timer () . Calling this function adds the timer with name key to the map of timers .
void Timing_Diagnostics::update_timer(const std::string &key,
                                      double             value)
{
    timers[key] += value;
}
void Timing_Diagnostics :: update_timer ( const std :: string & key , double value ) { timers [ key ] += value ; }
STATIC PUBLIC FUNCTIONAL INTERFACE
 \brief Add to a specified timer.
STATIC PUBLIC FUNCTIONAL INTERFACE \ brief Add to a specified timer .