62 auto& newTimelineEvent = *
m_events.emplace_back();
63 TimelineRecorder recorder{ newTimelineEvent, std::move( alg ), ctx };
65 std::ofstream out(
m_timelineFile +
".part", std::ofstream::app | std::ofstream::out );
66 out << std::chrono::duration_cast<std::chrono::nanoseconds>( newTimelineEvent.start.time_since_epoch() ).count()
68 << std::chrono::duration_cast<std::chrono::nanoseconds>( newTimelineEvent.end.time_since_epoch() ).count()
69 <<
" " << newTimelineEvent.algorithm <<
" " << newTimelineEvent.thread <<
" " << newTimelineEvent.slot <<
" "
70 << newTimelineEvent.event << std::endl;
This class represents an entry point to all the event specific data.