This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] libgomp omp_get_wtime doc fix (PR libgomp/47854)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 23 Feb 2011 10:00:32 +0100
- Subject: [committed] libgomp omp_get_wtime doc fix (PR libgomp/47854)
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
I've committed this doc fix on the trunk.
2011-02-23 Jakub Jelinek <jakub@redhat.com>
PR libgomp/47854
* libgomp.texi (omp_get_wtime): Don't say time in the past
must be Unix Epoch.
--- libgomp/libgomp.texi.jj 2010-10-01 12:39:16.000000000 +0200
+++ libgomp/libgomp.texi 2011-02-23 09:54:36.000000000 +0100
@@ -7,7 +7,7 @@
@copying
-Copyright @copyright{} 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
+Copyright @copyright{} 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -1032,8 +1032,8 @@ successive clock ticks.
@item @emph{Description}:
Elapsed wall clock time in seconds. The time is measured per thread, no
guarantee can be made that two distinct threads measure the same time.
-Time is measured from some "time in the past". On POSIX compliant systems
-the seconds since the Epoch (00:00:00 UTC, January 1, 1970) are returned.
+Time is measured from some "time in the past", which is an arbitrary time
+guaranteed not to change during the execution of the program.
@item @emph{C/C++}:
@multitable @columnfractions .20 .80
Jakub