thankyou berkeman that is what i meant.
phyky, your application here is quite vague, and the best solution depends on things you haven't told us. any adc, a built in peripheral of a uController or a separate IC will be limited by the maximum samples per second. for example, dsPic33F4013 has a maximum of 200 ksps.
if you want to measure an ac signal of frequency 20kHz, you will only get 10 samples per cycle, which is enough to estimate the frequency and peak amplitude, but not enough to analyse distortion or check for harmonic content.
if on the other hand you want to measure 100kHz, its not enough to do anything but check that the signal is there, and possibly measure frequency within a failry large error margin. you will find it very difficult to measure the peak amplitude, and impossible to distinguish between a square wave and a sine wave without some other knowledge of the signal.
you also have to consider resolution, which may or may not affect you depending on what you wish to measure.