vpr/src/place/timing_place.h
/**
     * @brief Calculates the total cost of all connections efficiently
     *        in the face of modified connection costs.
     */
@brief Calculates the total cost of all connections efficiently
in the face of modified connection costs.
@brief Calculates the total cost of all connections efficiently in the face of modified connection costs .
double total_cost() {
        float cost = total_cost_recurr(0); 
        VTR_ASSERT_DEBUG_MSG(cost == total_cost_from_scratch(0),
                             "Expected incremental and from-scratch costs to be consistent");
        return cost;
    }
double total_cost ( ) { float cost = total_cost_recurr ( 0 ) ; VTR_ASSERT_DEBUG_MSG ( cost == total_cost_from_scratch ( 0 ) , " " ) ; return cost ; }
@brief Calculates the total cost of all connections efficiently
        in the face of modified connection costs.
@brief Calculates the total cost of all connections efficiently in the face of modified connection costs .
//Root