get device number of cores

I’d like to have a method that gets the device number of cores (single, dual, quad) - this is to help differentiate between different Android device generations and allow to modify the level of game details for each.

Thanks.
[import]uid: 118978 topic_id: 27690 reply_id: 327690[/import]