You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Sameer Gupta <sa...@hotmail.com> on 2010/04/07 16:54:38 UTC
15-16 milliseconds granularity on Windows
Hi,
I have noticed the message timestamps being logged are atleast 15-16 milliseconds apart on windows NT/2003 systems even though the messages actually requested to be logged were just couple of milliseconds apart. This is due to the functions being used in the log4cxx code which are based on the SYSTEMTIME structure. The accuracy of these functions is 15-16 milliseconds at the most. I have tried to play around with the code and implemented performance counters to produce sub 15-16 milliseconds accuracy between two message timestamps. This will specially help the users who develop low latency applications.
I am wondering if I can contribute my work to the project. Please let me know how I can join the project as a developer and what is the procedure to contribute. Opologies, if this has already been implemented.
Regards,
Sameer
Get a new e-mail account with Hotmail - Free. Sign-up now.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Re: 15-16 milliseconds granularity on Windows
Posted by Curt Arnold <ca...@apache.org>.
On Apr 7, 2010, at 9:54 AM, Sameer Gupta wrote:
> Hi,
>
> I have noticed the message timestamps being logged are atleast 15-16 milliseconds apart on windows NT/2003 systems even though the messages actually requested to be logged were just couple of milliseconds apart. This is due to the functions being used in the log4cxx code which are based on the SYSTEMTIME structure. The accuracy of these functions is 15-16 milliseconds at the most. I have tried to play around with the code and implemented performance counters to produce sub 15-16 milliseconds accuracy between two message timestamps. This will specially help the users who develop low latency applications.
>
> I am wondering if I can contribute my work to the project. Please let me know how I can join the project as a developer and what is the procedure to contribute. Opologies, if this has already been implemented.
>
> Regards,
> Sameer
>
The preferred mechanism is to have patch files attached to bug reports at http://issues.apache.org/jira/browse/LOGCXX.
The roles at Apache are described at http://www.apache.org/foundation/how-it-works.html#roles. Being granted commit rights to the SVN repo generally requires a substantial period of contribution via bug reports and the mailing list before a vote by the project management committee and the execution of a signed individual contributor license agreement (ICLA).