@@ -91,6 +91,7 @@ void ABLStats::initialize()
91
91
92
92
void ABLStats::calc_averages ()
93
93
{
94
+ BL_PROFILE (" amr-wind::ABLStats::calc_averages" );
94
95
m_pa_vel ();
95
96
m_pa_temp ();
96
97
m_pa_vel_fine ();
@@ -230,6 +231,7 @@ void ABLStats::post_advance_work()
230
231
231
232
void ABLStats::compute_zi ()
232
233
{
234
+ BL_PROFILE (" amr-wind::ABLStats::compute_zi" );
233
235
234
236
auto gradT = (this ->m_sim .repo ())
235
237
.create_scratch_field (3 , m_temperature.num_grow ()[0 ]);
@@ -280,6 +282,7 @@ void ABLStats::compute_zi()
280
282
281
283
void ABLStats::process_output ()
282
284
{
285
+ BL_PROFILE (" amr-wind::ABLStats::process_output" );
283
286
284
287
if (m_out_fmt == " ascii" ) {
285
288
write_ascii ();
@@ -388,6 +391,7 @@ void ABLStats::prepare_ascii_file()
388
391
void ABLStats::prepare_netcdf_file ()
389
392
{
390
393
#ifdef AMR_WIND_USE_NETCDF
394
+ BL_PROFILE (" amr-wind::ABLStats::prepare_netcdf_file" );
391
395
392
396
const std::string post_dir = m_sim.io_manager ().post_processing_directory ();
393
397
const std::string sname =
@@ -493,6 +497,7 @@ void ABLStats::prepare_netcdf_file()
493
497
void ABLStats::write_netcdf ()
494
498
{
495
499
#ifdef AMR_WIND_USE_NETCDF
500
+ BL_PROFILE (" amr-wind::ABLStats::write_netcdf" );
496
501
497
502
// First calculate sfs stress averages
498
503
auto sfs_stress = m_sim.repo ().create_scratch_field (" sfs_stress" , 3 );
0 commit comments