Reading CPU id & speed

Is there any way of getting the CPU speed information,

I know that there is SystemInfo which shows certain device information.

SystemInfo.processorType givs me “Intel(R) Core™ i5 CPU 760 @ 2.80GHz”

when i only want to know the speed of the processer itself.

P.S: If all CPU will give me the same answer i can just ‘cut’ the string where it says GHz but i don’t know that

thanks in advance

You can use String.split to split a string into multiple ones.

var proc:String[];
proc=SystemInfo.processorType.Split("@"[0]);

And then the proccessor speed would be stored in proc[1].