Is it correct to use the expression "consolidate cost" when you add cost figures in a specific period of time? The context is a description of what a piece of code is doing:
consolidate cost over several periods
I've found the following definition of consolidate:
to bring together (separate parts) into a single or unified whole; unite; combine: They consolidated their three companies.
But a Google search for "consolidate cost" only returns 12 600 results which is usually an indication of a wrong usage.