How to record and/or extract burnin / warmup time?

So somewhat related to this post, i am interested in comparing efficiency of different samplers and some measures of efficiency only use the post-burnin time so I need to subtract the burnin time from the total time taken to sample. Is there a way to record or extract this to avoid having to set up a manual timer everytime?


how can I do this for cmdstanr output? (without having to convert to rstan CSV??)


1 Like

Thanks :)