std::clock_t(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

std::clock_t - std::clock_t β€” yep, that’s the whole NAME line, bestie πŸ’–. This is the std::clock_t(3) page from the C++ Standard Libary manual (section 3), folded in right here like a little name tag πŸŽ€


🌸 Synopsis 🌸

okay so the synopsis is short and iconic:

Defined in header <ctime>
typedef /* unspecified */ clock_t;

The vibe check: it’s an arithmetic type that’s capable of representing the process running time, with implementation-defined range and precision ✨. So it’s giving β€œthe spec decides the details” energy, fr fr.


πŸ‘€ See also πŸ‘€

  • clock β€” returns raw processor clock time since the program is started (function)
  • CLOCKS_PER_SEC β€” number of processor clock ticks per second (macro constant)
  • C documentation for clock_t

okay that’s the whole page, bestie 🫢 β€” source: http://cppreference.com, version: 2024.06.10, page: std::clock_t(3). mwah πŸ’‹

πŸ“¦ where this page comes from