This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Clocks
- From: Wayne Gemmell <wayneg at ananzi dot co dot za>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 12 Jan 2005 12:45:54 +0200
- Subject: Re: [ECOS] Clocks
- References: <200501111729.50634.wayneg@ananzi.co.za>
- Reply-to: wayneg at ananzi dot co dot za
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