You must know the cubic feet of the space being needed to be filled. The CFM the pump will put out at this pressure, also the CFM at various pressures between zero and the desired pressure. Using this you can plot a curve that will give you the time.
However - if you are using the air before the final desired pressure you must subtract the volume used.
So you need volume at various pressures to give you a curve, the total volume needed to be filled, and the losses (leaks and usage).
With the needed information you should be quite able to calculate the correct amount of time.