fkt-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fkt-devel] performance issues in fxt


From: Vincent Danjean
Subject: Re: [Fkt-devel] performance issues in fxt
Date: Fri, 26 Aug 2011 10:38:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20091109 Lightning/0.8 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0

On 26/08/2011 09:39, François Trahay wrote:
> On Friday 26 August 2011 00:22:17 Samuel Thibault wrote:
>> My comment simply means: instead of reinventing buffering, why not just
>> using the one implemented by fread?
>>
>> Samuel
> 
> hmm... Good point.
> The problem with fread&co in fxt is that it changes a lot of things and it 
> would break the API (fxt_fdopen wouldn't be available anymore).

  Why ? fdopen exists in libc.
  The only 'problem' I see is when a FxT trace in embedded into a file
and the application wants to read after the trace, just calling 'read'. If
the fxt library already load (with fread) some data after the trace in the
file, these data wont be available for the application anymore without
a seek. But I think we can ignore this use case for now.

  Regards,
    Vincent

> I can give a try and see the performance.
> 
> François
> 


-- 
Vincent Danjean                 Adresse: Laboratoire d'Informatique de Grenoble
Téléphone:  +33 4 76 61 20 11            ENSIMAG - antenne de Montbonnot
Fax:        +33 4 76 61 20 99            ZIRST 51, avenue Jean Kuntzmann
Email: address@hidden           38330 Montbonnot Saint Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]