Re: [beagleboard] elapsed time microseconds c++

2013-10-07 Thread Tux Leonard
Did you use a crosscompiler? You can also compile your code on your beaglebone. 2013/10/5 ignacio.mata...@gmail.com hi, Looks like there is something wrong in eclipse. I compiled the code gettimeofday directly from ubuntu terminal and it works properly. Also the code works in my beaglebone

Re: [beagleboard] elapsed time microseconds c++

2013-10-07 Thread Dave Hylands
Whoops - finger troubles On Mon, Oct 7, 2013 at 8:16 PM, Dave Hylands dhyla...@gmail.com wrote: Hi, On Sat, Oct 5, 2013 at 2:31 AM, ignacio.mata...@gmail.com wrote: hi, Looks like there is something wrong in eclipse. I compiled the code gettimeofday directly from ubuntu terminal

Re: [beagleboard] elapsed time microseconds c++

2013-10-04 Thread Tux Leonard
Could you provide us your source, the compiler/linker output and your compile command? 2013/10/4 ignacio.mata...@gmail.com My aim is program in ansi c my beaglebone black. I am using an ubuntu vm under mac os. I am new in ubuntu and eclipse and this is the main problem, i guess :-S I

Re: [beagleboard] elapsed time microseconds c++

2013-10-03 Thread Dieter Wirz
On Thu, Oct 3, 2013 at 9:56 PM, ignacio.mata...@gmail.com wrote: the issue is that i can not find gettimeofday.c in ubuntu. I only find You have to save the code I provided as gettimeofday.c. However, I do not see what this has to do with BB(B). Do you want to crosscompile with eclipse, or

Re: [beagleboard] elapsed time microseconds c++

2013-10-02 Thread Dieter Wirz
On Tue, Oct 1, 2013 at 11:14 PM, ignacio.mata...@gmail.com wrote: hi, Sorry for disturbing you. How can I compile gcc -Wall gettimeofday.c -o gettimeofday in eclipse under ubuntu? I don't know Eclipse too much, I compile such programs in terminal: Open Terminal cd to the folder where

[beagleboard] elapsed time microseconds c++

2013-09-26 Thread ignacio . matador
hello, I tried several ways ( clock(), gettimeofday()..) but I can get the proper way to measure the elapsed time in microseconds. I am using eclipse to program in ansi c. Could anybody help me about how to measure the elapsed time in microsecond? Could it be possible to enclosed the code

Re: [beagleboard] elapsed time microseconds c++

2013-09-26 Thread Nuno Sucena Almeida
On 09/26/2013 03:36 PM, ignacio.mata...@gmail.com wrote: hello, I tried several ways ( clock(), gettimeofday()..) but I can get the proper way to measure the elapsed time in microseconds. I am using eclipse to program in ansi c. Could anybody help me about how to measure the elapsed