I have written a code:
I have sample data. then according to sampled data I have 48 cases. Depending upon data all or different cases may execute. Individual case time tme again may vary according to data value passed.
So how to calculate worst case I mean max time taken by loop.
1. This is very general example I took. I want to know is there any software/tool available which can do this analysis like pass sample data & tell me that for these values code will crash & these values max time will be taken
while(1)
{
sample_data();
check_48_cases_for_sampled_data();
}
I have sample data. then according to sampled data I have 48 cases. Depending upon data all or different cases may execute. Individual case time tme again may vary according to data value passed.
So how to calculate worst case I mean max time taken by loop.
1. This is very general example I took. I want to know is there any software/tool available which can do this analysis like pass sample data & tell me that for these values code will crash & these values max time will be taken