Issue Details (XML | Word | Printable)

Key: STDCXX-623
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

add cumulative times to the output of the exec utility

Created: 27/Oct/07 10:55 PM   Updated: 28/Nov/07 05:09 AM
Return to search
Component/s: Utilities
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Not Specified

Severity: Cosmetic
Resolution Date: 28/Nov/07 05:09 AM


 Description  « Hide
As discussed in the post below, it would be useful to know the cumulative amount of time (user, system, and wall clock) used up by the programs run by the exec utility.
http://www.nabble.com/Intel-C%2B%2B-9.1-Win-XP-build-timeouts-tf4699975.html

This affects version 4.2.0 (there's no exec utility in previous releases) and can be easily implemented in 4.2.1.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #598869 Wed Nov 28 05:08:25 UTC 2007 sebor 2007-11-27 Martin Sebor <sebor@roguewave.com>

Merged rev 594730 from trunk with the implementation of STDCXX-623.

* util/target.h (target_status): Changed the type of user, system, and
wall clock time counters from clock_t* to plain clock_t and renamed to
usr_time, sys_time, and wall_time, respectively.
* util/exec.cpp (calculate_usage, exec_file): Eliminated static locals
and instead directly used the target_status object passed in by caller.
(exec_file):
* util/display.cpp (print_status_plain, print_status_verbose): Checked
for times equal to -1 as an indicator of validity.
(print_footer_plain): Printed cumulative times for all targets.
* util/runall.cpp (run_target): Accumulated target times.
Files Changed
MODIFY /incubator/stdcxx/branches/4.2.x/util/display.cpp
MODIFY /incubator/stdcxx/branches/4.2.x/util/exec.cpp
MODIFY /incubator/stdcxx/branches/4.2.x/util/target.h
MODIFY /incubator/stdcxx/branches/4.2.x/util/runall.cpp

Martin Sebor added a comment - 28/Nov/07 05:09 AM

Martin Sebor made changes - 28/Nov/07 05:09 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Assignee Martin Sebor [ sebor ]
Status Open [ 1 ] Closed [ 6 ]