The Boost C++ Libraries by Boris Schäling
Author:Boris Schäling [Schäling, Boris]
Language: eng
Format: epub
Published: 2014-10-24T21:00:00+00:00
boost::chrono::thread_clock returns the time used by a thread. The time measured by boost::chrono::thread_clock is comparable to CPU time, except it is per thread, rather than per process. boost::chrono::thread_clock returns the CPU time the thread has been running. It does not distinguish between time spent in user and kernel space.
boost::chrono::thread_clock isn’t supported on all platforms. You can only use boost::chrono::thread_clock if the macro BOOST_CHRONO_HAS_THREAD_CLOCK is defined.
Boost.Chrono provides the macro, BOOST_CHRONO_THREAD_CLOCK_IS_STEADY, to detect whether boost::chrono::thread_clock measures monotonic time like boost::chrono::steady_clock.
Example 37.1, “All clocks from Boost.Chrono” writes a string to standard output that looks like the following: 15600100 nanoseconds since thread start-up.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12592)
Hello! Python by Anthony Briggs(9928)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9803)
The Mikado Method by Ola Ellnestam Daniel Brolund(9787)
Dependency Injection in .NET by Mark Seemann(9348)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8310)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7772)
Grails in Action by Glen Smith Peter Ledbrook(7705)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7567)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7175)
Microservices with Go by Alexander Shuiskov(6943)
Practical Design Patterns for Java Developers by Miroslav Wengner(6858)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6801)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6424)
Angular Projects - Third Edition by Aristeidis Bampakos(6219)
The Art of Crafting User Stories by The Art of Crafting User Stories(5735)
NetSuite for Consultants - Second Edition by Peter Ries(5663)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5479)
Kotlin in Action by Dmitry Jemerov(5074)
