? output of `time`

? output of `time`

Post by Jianhong J Wa » Fri, 20 May 1994 12:52:42



Hello, everyone,

       I'm trying to optimize my Fortran program and used `time` to compare
       speed between different versions of the same Fortran program.
       But I don't understand the output from `time`, and don't know which
       number here is the best indicator of efficiency.  

       here is the output.
        (the machine is a SGI with 8 150MHz processors running IRIX 5.1.1.3)

       nic 12% time fprog.1
               441.5u 5.7s 7:46 95% 0+0k 19+2io 13pf+0w
       nic 13% time fprog.2
               501.1u 4.8s 8:45 96% 0+0k 15+2io 20pf+0w
       nic 14% time fprog.3
               949.6u 8.2s 16:36 96% 0+0k 52+15io 47pf+0w

       Can anyone enlight me on this, please.  What does each number mean?

        Thanks for any help.

Jianhong Wang
Univ. of Guelph
Ontario, Canada

 
 
 

? output of `time`

Post by Joseph Cro » Sun, 22 May 1994 07:12:35



|> Hello, everyone,
|>
|>        I'm trying to optimize my Fortran program and used `time` to compare
|>        speed between different versions of the same Fortran program.
|>        But I don't understand the output from `time`, and don't know which
|>        number here is the best indicator of efficiency.  
|>
|>        here is the output.
|>         (the machine is a SGI with 8 150MHz processors running IRIX 5.1.1.3)
|>
|>        nic 12% time fprog.1
|>                441.5u 5.7s 7:46 95% 0+0k 19+2io 13pf+0w

       the 441.5u is the amount of time spent executing in user code
       the 5.7s is the amount of time spent executing in kernel mode on behalf of the user process
       I suspect the io is self-explanaotry and the pf refers to page faults.

       If you have timex you should use it instead, or you could always invoke times(2) if your
version of IRIX supports it.  Hope this helps.

|>        nic 13% time fprog.2
|>                501.1u 4.8s 8:45 96% 0+0k 15+2io 20pf+0w
|>        nic 14% time fprog.3
|>                949.6u 8.2s 16:36 96% 0+0k 52+15io 47pf+0w
|>        
|>        Can anyone enlight me on this, please.  What does each number mean?
|>
|>   Thanks for any help.
|>
|> Jianhong Wang
|> Univ. of Guelph
|> Ontario, Canada
|>

--
==============================================
|   Joe Crowe                                |
|   Tandem Computers Inc.                    |

==============================================

 
 
 

1. the output of time in Korn shell

Hi All,
    In Korn shell,  according to man page, time send its output to
standard error. However,
            time>/dev/null 2>&1
still shows the output in stardard output. My question is how to
re-direct the output of time. Any hint is greatly appreciated.

Zhengao Huang

2. use kmap_atomic instaed of kmap in NFS client

3. ?? re output of: % time <command>

4. procfs-security-issue

5. pcmcia oops (with ksymoops output this time)

6. possible illegal access

7. How to output 'time' to file ?

8. Xfree86 install problems (newbie)...

9. convert UT time in local time / local time in UT time

10. time time time how can I tell the time

11. can't redirect output of "time" command

12. How to redirect outputs from the command "time" into a file?

13. Using Time Command With Command That Redirects Output.