[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elegant way to time function execution
From: |
Nala Ginrut |
Subject: |
Re: Elegant way to time function execution |
Date: |
Sun, 04 Sep 2016 14:31:37 +0800 |
You may try time-utc->date or it's friends to convert seconds to
Y/M/D/h/m/s. But you may need to write a function to print each field.
BTW, ",a" command in the REPL is your friend when you have no any clue
about what function may work.
Best regards.
On Sat, 2016-09-03 at 22:12 +0100, Christopher Baines wrote:
> So I have managed to get something working with srfi-19, but the
> output
> is not very readable:
> #<time type: time-duration nanosecond: 1482337000 second: 0>
>
> I tried a couple of ways to make this human readable, but before I
> write
> something myself, I thought I would check if anyone knows of some
> existing code to make time durations human readable?
>
> Thanks,
>
> Chris
>