This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Clocks


On Tuesday 11 January 2005 17:29, Wayne Gemmell wrote:
> system_clockH = cyg_real_time_clock();
> cyg_clock_to_counter(system_clockH,&test_counterH);
> count = cyg_current_time;
> printf("Starting sampling at %llu\n", count);
> cyg_thread_delay(300);
> printf("All operations completed in %llu seconds \n" , ?
> ? cyg_current_time-count);
Fixed it....

count = cyg_current_time();
not 
> count = cyg_current_time;

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]