ATLAS Offline Software
Loading...
Searching...
No Matches
Prompt::TimerScopeHelper Class Reference

#include <PromptUtils.h>

Collaboration diagram for Prompt::TimerScopeHelper:

Public Member Functions

 TimerScopeHelper (TStopwatch &timer)
 ~TimerScopeHelper ()

Private Attributes

TStopwatch & m_fTimer

Detailed Description

Definition at line 101 of file PromptUtils.h.

Constructor & Destructor Documentation

◆ TimerScopeHelper()

Prompt::TimerScopeHelper::TimerScopeHelper ( TStopwatch & timer)
inlineexplicit

Definition at line 105 of file PromptUtils.h.

106 :m_fTimer(timer) { m_fTimer.Start(false); }

◆ ~TimerScopeHelper()

Prompt::TimerScopeHelper::~TimerScopeHelper ( )
inline

Definition at line 107 of file PromptUtils.h.

107{ m_fTimer.Stop(); }

Member Data Documentation

◆ m_fTimer

TStopwatch& Prompt::TimerScopeHelper::m_fTimer
private

Definition at line 111 of file PromptUtils.h.


The documentation for this class was generated from the following file: