FTTIME man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

TTIME(3)		       LAM LOCAL LIBRARY		      TTIME(3)

NAME
       ttime - Get LAM timer value in seconds.

C SYNOPSIS
       #include <net.h>

       double ttime ();

FORTRAN SYNOPSIS
       double precision FTTIME()

DESCRIPTION
       The  ttime() function enables a program running on any LAM node to read
       the current value of the system timer in a portable fashion.   This  is
       useful  for  measuring  execution  times	 of program sections.  ttime()
       returns the timer value in seconds as a double precision floating point
       number.

EXAMPLE
	      #include <stdio.h>
	      #include <net.h>

	      double	     time, start, end;

	      start = ttime();
	      my_sub();
	      end = ttime();
	      time = end - start;
	      printf("my_sub took: %f seconds to execute\n", time);

BUGS
       The  resolution	of the measurements is bound by that of the underlying
       system timer used.

LAM 7.1.2			  March, 2006			      TTIME(3)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net