"analog sensor" tells us pretty much nothing. Do you have a very expensive analog sensor? If not, odds are it can't keep up with 40 MHz. If not, why are you worried about the maximum sampling rate of the FPGA?
If you want to know how long your code is taking to run, take a look at using ticks counts before and after your code to see how many ticks are being used to run your code. That will tell you how long your code is taking to run. That will help you figure out the rate you're sampling.
Worrying about "default" sampling rate is relatively meaningless. It's not what you're working with. Odds are, it's faster than you can keep up with for an analog task. It's similar to worrying about whether or not it's raining in Antarctica while you're coding. But, the default sample rate is 40 MHz.