#include <PerformanceCounter.h>
Public Types | |
| enum | { show_seconds = 1, show_milliseconds = 2, show_microseconds = 4, show_days = 8 } |
Public Member Functions | |
| format_performance_counter (PerformanceCounter pc, int options=show_seconds|show_milliseconds|show_microseconds) | |
Static Public Member Functions | |
| static int | width (int options=show_seconds|show_milliseconds|show_microseconds) |
| Returns width of stream according to options. | |
Public Attributes | |
| PerformanceCounter | m_pc |
| int | m_options |
Friends | |
| std::ostream & | operator<< (std::ostream &, const format_performance_counter &) |
d+hh:mm:ss:mmm:uuu
Days are shown on request or when duration is more than 24 hours.
Regional setting for date separator is used.
Output width and alignment of stream is used.
Definition at line 130 of file PerformanceCounter.h.
|
|
Definition at line 133 of file PerformanceCounter.h. |
|
||||||||||||
|
Definition at line 134 of file PerformanceCounter.h. |
|
|
Returns width of stream according to options. When days are requested the minimum width is returned. Definition at line 77 of file PerformanceCounter.cpp. References show_days, show_microseconds, show_milliseconds, and show_seconds. |
|
||||||||||||
|
Definition at line 22 of file PerformanceCounter.cpp. |
|
|
Definition at line 145 of file PerformanceCounter.h. Referenced by operator<<(). |
|
|
Definition at line 144 of file PerformanceCounter.h. Referenced by operator<<(). |
1.4.3