[Haskell-cafe] GDB and ticks

Mikolaj Konarski mikolaj at well-typed.com
Mon Oct 18 12:28:34 UTC 2021


Oh, might it be why my pet roguelike game is running at 20% higher
frames per second without -threaded? Would these tick calls be removed
in non-threaded RTS?

On Mon, Oct 18, 2021 at 2:18 PM Sylvain Henry <sylvain at haskus.fr> wrote:
>
> The timer isn't only used for profiling, it is used for scheduling too.
> You can disable it with `+RTS -V0` (cf
> https://ghc.gitlab.haskell.org/ghc/doc/users_guide/debug-info.html#tutorial)
>
> On 18/10/2021 12:47, Henning Thielemann wrote:
> >
> > I am stepping through a Haskell program using the GNU debugger GDB and
> > see function calls to handle_tick, handleProfTick, stopTicker all over
> > the place. It sounds like they would manage profiling, but I compiled
> > the executable without profiling.
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > Only members subscribed via the mailman list are allowed to post.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.


More information about the Haskell-Cafe mailing list