[ccan] New module: rprof, runtime profiler/timers

Rusty Russell rusty at rustcorp.com.au
Wed Aug 31 14:35:49 EST 2011


On Tue, 30 Aug 2011 15:29:46 +0200, Christian Thaeter <ct at pipapo.org> wrote:
> Am Tue, 30 Aug 2011 11:29:43 +0930
> schrieb Rusty Russell <rusty at rustcorp.com.au>:
> > ccan/time is designed exactly to make timeval handling easier.
> > I think we should switch to timespec inside ccan/time, and drag it
> > into the current century.  And add time_div().
> 
> I didn't know how stable you wanted the current ccan/time API.

It's pretty recent, so I'm not all that attached to it.  There are no
api/ tests, so no implied API stability.

That said, timeval is more common than timespec, and the conversion
introduces the -lrt requirement (which uncovered other bugs).  We might
leave this for the moment then...

Thanks,
Rusty.


More information about the ccan mailing list