Struct Profiler::TimeInfo

Nested Relationships

This struct is a nested type of Class Profiler.

Struct Documentation

struct TimeInfo

Information about time spent in a section of the code.

Public Functions

inline TimeInfo()
inline void set()

Begin counting time.

inline void update()

Add the counted time to the total time.

Public Members

time::duration total

Total time counted.

time::duration shortest

The shortest counted time interval.

time::duration longest

The longest counted time interval.

unsigned long int parts

Number of times a chunk of time was added to this structure.

time::point start

The point in time when counting time started.