On Sat, May 11, 2013 at 1:13 PM, Lluís Batlle i Rossell <[email protected]>wrote:

> So the th1 addition is the only work left?
>

i believe so. And someone to make sure it doesn't misbehave on Windows.

i wouldn't want to replace the existing functions, but it would be easy to
add, e.g. [runtime] which returns the microseconds (cpu+user) since fossil
initialized its main timer. So... a few minutes later:

runtime=<th1>
puts [runtime]
</th1>

Feed that into (fossil test-th-render)

and i see:

[stephan@host:~/cvs/fossil/fossil/src]$ f test-th-render 1.th1
runtime=0

which mirrors what i'm seeing in the JSON API when running in CLI mode
(local server mode generally has a non-0 time).

When adding that output to my footer i'm seeing times which are always 0 or
a multiple of 4000 uSec, implying that my system's precision here is only
4ms.

i'm not sure it will really solve your original problem, but if it sounds
like it will i'll get it checked in. Suggestions are welcomed.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to