Hello Heang,
To clarify, you just want to get the area of the curve that is not blue, correct? One method would be to just go through your data and find out where the y value crosses your threshold level and use that as your t1, and do the same thing to find out where the curve crosses the threshold value again for t2.
If your data is already in a waveform, you can use "Search Waveform" to find the time value of the intersections. You could also come up with your own array calculations to calculate the time values.
Cheers,
NathanT