![]() |
ATLAS Offline Software
|
Public Member Functions | |
| StatusCode | getClient (tc::InferenceServerGrpcClient *&client, const std::string &url, int port, bool useSSL) const |
| tc::Error | checkServerHealth (tc::InferenceServerGrpcClient &client) const |
| void | waitBeforeRetry (const int retryDelayMs) const |
| StatusCode | runInference (tc::InferenceServerGrpcClient &client, const std::vector< tc::InferInput * > &rawInputs, const int maxRetries, const int retryDelayMs, std::shared_ptr< tc::InferResult > &results) const |
| template<typename T> | |
| StatusCode | prepareInput (const std::string &name, const std::vector< int64_t > &shape, const std::vector< T > &data, std::vector< std::unique_ptr< tc::InferInput > > &inputs) const |
| template<typename T> | |
| StatusCode | extractOutput (const std::string &name, const tc::InferResult &result, std::vector< T > &outputVec) const |
| AthMessaging (IMessageSvc *msgSvc, const std::string &name) | |
| Constructor. | |
| AthMessaging (const std::string &name) | |
| Constructor with auto-retrieval of the MessageSvc. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Public Attributes | |
| const AthAsynchronousAlgorithm * | m_parentAsyncAlg = nullptr |
| std::unique_ptr< tc::InferOptions > | m_options |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels). | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging). | |
Definition at line 51 of file TritonTool.cxx.
| AthMessaging::AthMessaging | ( | const std::string & | name | ) |
Constructor with auto-retrieval of the MessageSvc.
| name | Name of the message stream |
Definition at line 71 of file AthMessaging.cxx.
| AthMessaging::AthMessaging | ( | IMessageSvc * | msgSvc, |
| const std::string & | name ) |
Constructor.
| msgSvc | Pointer to the MessageSvc |
| name | Name of the message stream |
Definition at line 66 of file AthMessaging.cxx.
|
inline |
Definition at line 76 of file TritonTool.cxx.
|
inline |
Definition at line 212 of file TritonTool.cxx.
|
inline |
Definition at line 56 of file TritonTool.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inline |
Definition at line 184 of file TritonTool.cxx.
|
inline |
Definition at line 119 of file TritonTool.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
inline |
Definition at line 113 of file TritonTool.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels).
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
| std::unique_ptr<tc::InferOptions> AthInfer::TritonTool::Impl::m_options |
Definition at line 230 of file TritonTool.cxx.
| const AthAsynchronousAlgorithm* AthInfer::TritonTool::Impl::m_parentAsyncAlg = nullptr |
Definition at line 229 of file TritonTool.cxx.