Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the functions used for timing in Utility

Shulou Source: shulou.com Published: 2022-06-01 09:42:45 09月26日 Update

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.

Tags: Functions patterns usage content clocks times standards articles international duration learning help support world tasks examples associations nouns countries national standards Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Apple NVidia Redmi vpn