Opened 11 years ago

Closed 11 years ago

#5974 closed Feature Requests (fixed)

Process real cpu clock should use clock() instead of times() in MAC which is twice faster and have better resolution.

Reported by: viboes Owned by: viboes
Milestone: Boost 1.48.0 Component: chrono
Version: Boost 1.47.0 Severity: Optimization
Keywords: Cc:

Description

The implementation of process_real_cpu_clock::now() uses the system ::times() function which is twice slower than clock(). In addition the time given by times is not related to the process lifetime but the system lifetime and the resolution is also twice better.

Change History (1)

comment:1 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.48.0
Resolution: fixed
Status: newclosed

Merged with #74785

Note: See TracTickets for help on using tickets.