Skip to content

Commit d502509

Browse files
Fix: Timer
1 parent 0ca2b77 commit d502509

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/module_hamilt_pw/hamilt_pwdft/operator_pw/op_exx_pw.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ void OperatorEXXPW<T, Device>::act_op_ace(const int nbands,
351351
template <typename T, typename Device>
352352
void OperatorEXXPW<T, Device>::construct_ace() const
353353
{
354+
ModuleBase::timer::tick("OperatorEXXPW", "construct_ace");
354355
// int nkb = p_exx_helper->psi.get_nbands() * p_exx_helper->psi.get_nk();
355356
int nbands = psi.get_nbands();
356357
int nbasis = psi.get_nbasis();
@@ -494,6 +495,7 @@ void OperatorEXXPW<T, Device>::construct_ace() const
494495
}
495496

496497
*ik_ = ik_save;
498+
ModuleBase::timer::tick("OperatorEXXPW", "construct_ace");
497499

498500
}
499501

0 commit comments

Comments
 (0)