Re: [Sugar-devel] Best time format for logging?

2014-03-06 Thread Martin Dluhos
On 28.2.2014 19:57, Walter Bender wrote: It seems time on activity is an oft-requested feature. IMHO, we should maintain those data in the activity instance metadata like we do launch times et al. Should be a fairly straight-forward patch. I second this request. Elapsed activity time is what

Re: [Sugar-devel] Best time format for logging?

2014-03-01 Thread Manuel Quiñones
2014-02-28 20:30 GMT-03:00 James Cameron qu...@laptop.org: On Fri, Feb 28, 2014 at 02:39:41PM -0300, Manuel Quiñones wrote: date +%s.%N 1393609027.074597846 Yes, this is adequate, though sometimes the fractional value can be imprecise as it depends on many factors. For response times, it

[Sugar-devel] Best time format for logging?

2014-02-28 Thread Manuel Quiñones
Hi, this is a general question but related with Sugar. I have made changes in olpc-utils to log the session duration and kind (Sugar or GNOME). This will be used for statistics. https://github.com/manuq/olpc-utils/compare/boot-stats?expand=1 My log format is now: START_SUGAR

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Walter Bender
I think the seconds format is more useful for the purposes of subsequent analysis. -walter On Fri, Feb 28, 2014 at 8:48 AM, Manuel Quiñones ma...@laptop.org wrote: Hi, this is a general question but related with Sugar. I have made changes in olpc-utils to log the session duration and kind

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Walter Bender
We've discussed (in AU) adding something similar to Sugar activities: a metadata field with the elapsed time that the activity is visible. We should coordinate all of these changes. regards. -walter On Fri, Feb 28, 2014 at 9:01 AM, Walter Bender walter.ben...@gmail.com wrote: I think the

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Manuel Quiñones
2014-02-28 11:04 GMT-03:00 Walter Bender walter.ben...@gmail.com: We've discussed (in AU) adding something similar to Sugar activities: a metadata field with the elapsed time that the activity is visible. We should coordinate all of these changes. Absolutely. I'm trying Martin's Harvest and

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Walter Bender
It seems time on activity is an oft-requested feature. IMHO, we should maintain those data in the activity instance metadata like we do launch times et al. Should be a fairly straight-forward patch. (My rationale is that making it part of the activity metadata, it is accessible to the Sugar user

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Nagarjuna G
On Friday, February 28, 2014 09:12:58 AM Walter Bender wrote: It seems time on activity is an oft-requested feature. IMHO, we should maintain those data in the activity instance metadata like we do launch times et al. Should be a fairly straight-forward patch. (My rationale is that making it

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread Manuel Quiñones
Interesting Nagarjuna, 2014-02-28 12:36 GMT-03:00 Nagarjuna G nagar...@gnowledge.org: On Friday, February 28, 2014 09:12:58 AM Walter Bender wrote: It seems time on activity is an oft-requested feature. IMHO, we should maintain those data in the activity instance metadata like we do launch

Re: [Sugar-devel] Best time format for logging?

2014-02-28 Thread James Cameron
On Fri, Feb 28, 2014 at 02:39:41PM -0300, Manuel Quiñones wrote: date +%s.%N 1393609027.074597846 Yes, this is adequate, though sometimes the fractional value can be imprecise as it depends on many factors. For response times, it is useful, but care should be taken to record the value in the