What are the functions used for timing in Utility
This article mainly shows you "what are the functions used for timing in Utility", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what are the functions used for timing in Utility"?
A function that can be used for timing
Clock_gettime ()
Time ()
Gettimeofday ()
Sigtimedwait ()
Alarm ()
Timer_settime ()
Clock_nanosleep ()
Learn a few nouns first.
UTC-World Standard time
Epoch-A specific time: 1970-01-01 00:00:00 UTC
IEEE-Institute of Electrical andElectronics Engineers, Association of Electrical and Electronic Engineers
ISO-International Organization forStandardization, International Organization for Standardization
IEC-International ElectrotechnicalCommission, International Electrotechnical Commission
POSIX-Portable Operating SystemInterface. IEEE calls it IEEE 1003, ISO/IEC 9945.
ANSI-American National StandardsInstitute, American National Standards Institute
Clock_gettime ()
The function clock_gettime () defined by POSIX to read the current time
Run an example.