How to make the program suspend the specified time?

xiaoxiao2021-03-05  22

Sender: QUASAR (Baxi X), the letter area: Fortran Title: [Collection] Urgent Question: How to let the program suspend the designated time? Send the station: Nanjing University Small Lily Station (Thu Dec 23 19:35:07 2004) Biabia (BIABIA) is mentioned in Tue Dec 7 21:56:24 2004) mentioned: For example, want to perform a statement, suspend 1 millisecond, what function or subroutine should be used, thank you! Leavy (vi) at Tue Dec 7 23: 23:03 2004) He mentioned: I don't know if there is such a function. But you can perform a statement read time. He has been successfully read after 1 millisecond, and then continues BIABIA (Biabia) at Tue Dec 7 23: 26:53 2004) mentioned: How do you read time? Even novice, laughing Leavy (vi) in Tue Dec 7 23:29:37 2004) mentioned: Essence - Code Drab -> 2 [File] System Time CPU Time Sub-program (Win32) Leavy 2004.06.13 3 [Document] System Time Sub-GDATE () (Linux / Unix) Leavy 2004.06.13 Note System Time, not CPU Time Biabia (Biabia) in Tue Dec 7 23:30:09 2004) mentioned: Thank you! Biabia (BIABIA) mentioned in WED DEC 8 09:27:44 2004) mentioned: Oh, finally understand. Don't read time. It is only necessary to call Sleep (** s) or call sleepqq (** ms). By the way, how can I download this in the essence area? Leavy (vi) in WED DEC 8 18:14:45 2004) mentioned: This version of the open version is too short, it is not possible to download the essence to go in GLLYY (readable) in Mon Dec 13 19:27:45 2004 ) He mentioned that there is a SLEEP () function in CVF, in milliseconds, BIABIA (Biabia) mentioned in Tue Dec 14 10:45:59 2004) mentioned: should it be in seconds? Sleepqq is in milliseconds:) GLLYY (readable) in Tue Dec 14 22:55:27 2004) mentioned: Thank you first. :) To be honest, I didn't get checked, just used it, as if you feel The performance of the computer is also relatively large. I used it to debug WinMain programs. Damogao (DAMO) mentioned in Tue Dec 14 23:21:02 2004) mentioned: LINUX Call Sleep (n) is suspended n secondsdeedo ([Jin Jin 】 "Kang Jie Middle School" Tears) in Fri Dec 17 08:41:08 2004) mentioned: Oh, there is a simplest, you let the program you don't use a loop, take time.

转载请注明原文地址:https://www.9cbs.com/read-38300.html

New Post(0)