Sigma value for Process Capability

Hi all,

Please I need your help to clarify. When you have a process with different sampling time, to calculate Cp what stándard deviation have I to use? The global standard deviation of all the samples of my process or the average of the stándar deviation of all the samples?

Thanks in advance,

Anukitakataka