I want to find the duration of a particular task... I did it in this way.
//Before calling the function. TTime time1; time1.HomeTime();
//After returning from function. TTime time2; time2.HomeTime(); TTimeIntervalMicroSeconds micro; //find the time interval b/w time1 and time2 in microseconds. micro = time2.MicroSecondsFrom(time1);
Forum posts: 107
Forum posts: 53
Do i need to use active object for this?
I want to find the duration of a particular task...
I did it in this way.
//Before calling the function.
TTime time1;
time1.HomeTime();
//After returning from function.
TTime time2;
time2.HomeTime();
TTimeIntervalMicroSeconds micro;
//find the time interval b/w time1 and time2 in microseconds.
micro = time2.MicroSecondsFrom(time1);
Is there any other approach to achieve this?
Thanks for the time.
Pooja