This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch,fortran] Support type real for count_rate in system_clock (PR28484)
- From: Bernhard Fischer <rep dot nop at aon dot at>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Thu, 2 Nov 2006 13:56:42 +0100
- Subject: Re: [patch,fortran] Support type real for count_rate in system_clock (PR28484)
- References: <45428A72.60101@net-b.de>
Tobias,
On Sat, Oct 28, 2006 at 12:38:42AM +0200, Tobias Burnus wrote:
>:ADDPATCH fortran:
>
>This patch adds support for using a real variable for count_rate in
>system_clock as allowed since Fortran 2003.
>I only added support for real(4) and real(8). If needed be, one can also
>add real(10) and real(16) -- and integer(16), but I don't see any need
>for it.
>
>As count_rate is currently either 1 or 100, the real versions simply
>call the integer version of system_clock_{4,8}.
>
>Tested and regression tested on x86_64-unknown-linux-gnu
Are you aware of http://gcc.gnu.org/PR15516 ?
"assembly snippets for nano second resolution wall clock time"
Is this something we want to have?