#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/PrecedenceRulesGraph.h>
Definition at line 297 of file PrecedenceRulesGraph.h.
◆ EndTime()
Definition at line 298 of file PrecedenceRulesGraph.h.
301 MsgStream
log{
msgSvc,
"EndTime.Getter" };
302
303
305 log <<
MSG::WARNING <<
"Failed to locate the TimelineSvc: no way to add "
306 <<
"algorithm completion time to the TTT dumps" <<
endmsg;
307 }
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::EndTime::operator() |
( |
const AlgoProps & | props | ) |
const |
|
inline |
Definition at line 309 of file PrecedenceRulesGraph.h.
309 {
310
311 std::string endTime;
312
314
315 TimelineEvent te{};
316 te.algorithm =
props.m_name;
317 te.slot =
m_slot.eventContext->slot();
318 te.event =
m_slot.eventContext->evt();
319
321 endTime =
322 std::to_string( std::chrono::duration_cast<std::chrono::nanoseconds>( te.end.time_since_epoch() ).count() );
323 }
324
325 return endTime;
326 }
◆ operator()() [2/3]
std::string precedence::EndTime::operator() |
( |
const DataProps & | | ) |
const |
|
inline |
◆ operator()() [3/3]
◆ m_slot
◆ m_timelineSvc
The documentation for this struct was generated from the following file: