#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/PrecedenceRulesGraph.h>
Definition at line 257 of file PrecedenceRulesGraph.h.
◆ StartTime()
Definition at line 258 of file PrecedenceRulesGraph.h.
261 MsgStream
log{
msgSvc,
"StartTime.Getter" };
262
263
266 <<
"add algorithm start time to the TTT dumps" <<
endmsg;
267 }
268 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual SmartIF< IService > & service(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)=0
Returns a smart pointer to a service.
GAUDI_API ISvcLocator * svcLocator()
SmartIF< ITimelineSvc > m_timelineSvc
◆ operator()() [1/3]
std::string precedence::StartTime::operator() |
( |
const AlgoProps & | props | ) |
const |
|
inline |
Definition at line 270 of file PrecedenceRulesGraph.h.
270 {
271
272 std::string startTime;
273
275
276 TimelineEvent te{};
277 te.algorithm =
props.m_name;
278 te.slot =
m_slot.eventContext->slot();
279 te.event =
m_slot.eventContext->evt();
280
282 startTime = std::to_string(
283 std::chrono::duration_cast<std::chrono::nanoseconds>( te.start.time_since_epoch() ).count() );
284 }
285
286 return startTime;
287 }
◆ operator()() [2/3]
std::string precedence::StartTime::operator() |
( |
const DataProps & | | ) |
const |
|
inline |
◆ operator()() [3/3]
std::string precedence::StartTime::operator() |
( |
const DecisionHubProps & | | ) |
const |
|
inline |
◆ m_slot
const EventSlot& precedence::StartTime::m_slot |
◆ m_timelineSvc
The documentation for this struct was generated from the following file: