Skip to content

Commit df3c712

Browse files
committed
update tick
1 parent c60d13f commit df3c712

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/module_basis/module_pw/pw_transform_k.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ void PW_Basis_K::recip2real(const std::complex<FPTYPE>* in,
170170
{
171171
ModuleBase::timer::tick(this->classname, "recip2real");
172172
assert(this->gamma_only == false);
173-
ModuleBase::timer::tick("fftxybac", "recip2real_init");
174173
ModuleBase::GlobalFunc::ZEROS(fft_bundle.get_auxg_data<FPTYPE>(), this->nst * this->nz);
175174

176175
const int startig = ik * this->npwk_max;
@@ -183,13 +182,11 @@ void PW_Basis_K::recip2real(const std::complex<FPTYPE>* in,
183182
{
184183
auxg[this->igl2isz_k[igl + startig]] = in[igl];
185184
}
186-
ModuleBase::timer::tick("fftxybac", "recip2real_init");
187185
this->fft_bundle.fftzbac(fft_bundle.get_auxg_data<FPTYPE>(), fft_bundle.get_auxg_data<FPTYPE>());
188186

189187
this->gathers_scatterp(this->fft_bundle.get_auxg_data<FPTYPE>(), this->fft_bundle.get_auxr_data<FPTYPE>());
190188

191189
this->fft_bundle.fftxybac(fft_bundle.get_auxr_data<FPTYPE>(), fft_bundle.get_auxr_data<FPTYPE>());
192-
ModuleBase::timer::tick("fftxybac", "recip2real_back");
193190
auto* auxr = this->fft_bundle.get_auxr_data<FPTYPE>();
194191
if (add)
195192
{
@@ -211,7 +208,6 @@ void PW_Basis_K::recip2real(const std::complex<FPTYPE>* in,
211208
out[ir] = auxr[ir];
212209
}
213210
}
214-
ModuleBase::timer::tick("fftxybac", "recip2real_back");
215211
ModuleBase::timer::tick(this->classname, "recip2real");
216212
}
217213

0 commit comments

Comments
 (0)