Not applicable
Apr 23, 2014
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 23, 2014
01:08 PM
Hello,
is there a easy way to measure the elapsed time like this:
start_time=Timer_Start();
...doing some calcs
stop_time=Timer_Stop();
Elapsed=stop_time-start_time;
For me it's important to get the figure 'Elapsed' in a non-cpu-using way. I tried the microsecond example without any success. The resolution should be in the milli second or if possible micro second range.
It's working now. Config of CNT001 was wrong.
Regards Kurt
is there a easy way to measure the elapsed time like this:
start_time=Timer_Start();
...doing some calcs
stop_time=Timer_Stop();
Elapsed=stop_time-start_time;
For me it's important to get the figure 'Elapsed' in a non-cpu-using way. I tried the microsecond example without any success. The resolution should be in the milli second or if possible micro second range.
It's working now. Config of CNT001 was wrong.
Regards Kurt
- Tags:
- elapsed time
- IFX
- timer
0 Replies