votca 2026-dev
Loading...
Searching...
No Matches
votca::xtp::OptionalTiming Class Reference

#include <screening_kernels.h>

Public Member Functions

 OptionalTiming (DFTTimings *timings, const std::string &name)

Private Attributes

std::optional< DFTTimings::Scope > scope_

Detailed Description

A timing scope that is only opened when a DFTTimings object is given and the caller is not inside an OpenMP parallel region (DFTTimings is not thread safe; e.g. CDA builds epsilon inside the parallel QP solver).

Definition at line 100 of file screening_kernels.h.

Constructor & Destructor Documentation

◆ OptionalTiming()

votca::xtp::OptionalTiming::OptionalTiming ( DFTTimings * timings,
const std::string & name )
inline

Definition at line 102 of file screening_kernels.h.

Member Data Documentation

◆ scope_

std::optional<DFTTimings::Scope> votca::xtp::OptionalTiming::scope_
private

Definition at line 109 of file screening_kernels.h.


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