Skip to content

Commit

Permalink
add profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Feb 14, 2023
1 parent f57c5fa commit ef9c2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/near_global_simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function scaling_test_simulation(resolution, ranks, Δt, stop_iteration;
if profile
simulation.stop_iteration = 100
mark_timestep(sim) = NVTX.@mark "one time step"
simulation.callbacks[:mark_timestep] = Callback(progress, IterationInterval(1))
simulation.callbacks[:mark_timestep] = Callback(mark_timestep, IterationInterval(1))

return simulation
end
Expand Down

0 comments on commit ef9c2a0

Please sign in to comment.