stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Black <>
Subject [PATCH] wall clock timing
Date Tue, 03 Oct 2006 23:13:06 GMT
Greetings all.

Attached is a small patch that adds wall clock timing to the exec 
utility, and also fixes a documentation mistake that somehow missed 
being included in r452253.

--Andrew Black

	* target.h: Update header comment.
	  (target_status): Add wall field for wall clock timing.
	* exec.cpp [!_WIN32 && !_WIN64 && _XOPEN_UNIX] (sys/time.h): included 
for gettimeofday.
	  exec_file [!_WIN32 && !_WIN64 && _XOPEN_UNIX]: Set result->wall.
	  exec_file [_WIN32 || _WIN64]: Ditto.
	* display.cpp (print_header_plain): Add column for wall clock time.
	  (print_status_plain): Print result->wall, if set.

View raw message