// Time manipulation// clock// returns raw processor clock time since the program is started // (function)// time // returns the current time of the system as time since epoch// (function)// difftime// computes the difference between times// (function)// timespec_get(C++17)// returns the calendar time based on a given time base// (function)// Format conversions// ctime// converts a std::time_t object to a textual representation// (function)// asctime// converts a std::tm object to a textual representation// (function)// strftime// converts a std::tm object to custom textual representation// (function)// wcsftime// converts a std::tm object to custom wide string textual representation// (function)// gmtime// converts time since epoch to calendar time expressed as Universal Coordinated Time// (function)// localtime// converts time since epoch to calendar time expressed as local time// (function)// mktime// converts calendar time to time since epoch// (function)
c++中的时间函数说明代码说明// Time manipulation// clock// returns raw processor clock time since the program is started // (function)// time // returns the current time of the system as time since epoch// (function)// difftime// computes the difference b