Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Joel Sherrill
The code is m68k and the comment is PowerPC. Any guidance for the porting guide on what constitutes too expensive? There should be some general guidelines regarding when to pick a format bases on that. Also.. This means that some ports will have 2038 issues at the score level. We have to

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Gedare Bloom
On Tue, Sep 23, 2014 at 11:38 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: The code is m68k and the comment is PowerPC. Any guidance for the porting guide on what constitutes too expensive? There should be some general guidelines regarding when to pick a format bases on that. Also..

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Sebastian Huber
On 23/09/14 18:27, Gedare Bloom wrote: On Tue, Sep 23, 2014 at 11:38 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: The code is m68k and the comment is PowerPC. Sorry, a copy and paste error. I did performance tests on both platforms with FTP transfers to/from /dev/zero. I observed

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Chris Johns
On 24/09/2014 3:27 pm, Sebastian Huber wrote: On 23/09/14 18:27, Gedare Bloom wrote: On Tue, Sep 23, 2014 at 11:38 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: The code is m68k and the comment is PowerPC. Sorry, a copy and paste error. I did performance tests on both platforms with

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Chris Johns
On 24/09/2014 3:42 pm, Sebastian Huber wrote: On 24/09/14 07:34, Chris Johns wrote: On 24/09/2014 3:27 pm, Sebastian Huber wrote: Yes, we should move to 64-bit time_t after the next release or even now. What is involved ? Something like this: diff --git

Re: [rtems commit] m68k: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC

2014-09-23 Thread Sebastian Huber
On 24/09/14 07:45, Chris Johns wrote: On 24/09/2014 3:42 pm, Sebastian Huber wrote: On 24/09/14 07:34, Chris Johns wrote: On 24/09/2014 3:27 pm, Sebastian Huber wrote: Yes, we should move to 64-bit time_t after the next release or even now. What is involved ? Something like this: diff