ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
LCAO_domain::ModuleBase::timer::Scope Class Reference
Collaboration diagram for LCAO_domain::ModuleBase::timer::Scope:

Public Member Functions

 Scope (const char *owner, const char *function)
 ~Scope ()
 Scope (const Scope &)=delete
Scope & operator= (const Scope &)=delete

Private Attributes

const char * owner_
const char * function_

Detailed Description

Function-wide timing, including early returns and exceptional exits. The borrowed names must outlive the scope. No device synchronization.

Constructor & Destructor Documentation

◆ Scope() [1/2]

LCAO_domain::ModuleBase::timer::Scope::Scope ( const char * owner,
const char * function )
inline

◆ ~Scope()

LCAO_domain::ModuleBase::timer::Scope::~Scope ( )
inline

◆ Scope() [2/2]

LCAO_domain::ModuleBase::timer::Scope::Scope ( const Scope & )
delete

Member Function Documentation

◆ operator=()

Scope & LCAO_domain::ModuleBase::timer::Scope::operator= ( const Scope & )
delete

Member Data Documentation

◆ function_

const char* LCAO_domain::ModuleBase::timer::Scope::function_
private

◆ owner_

const char* LCAO_domain::ModuleBase::timer::Scope::owner_
private

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