The Artima Developer Community
Sponsored Link

Java Buzz Forum
Can Haz Cpu Cores

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 105
Nickname: sharemefg
Registered: Nov, 2005

Fred Grott is an android developer producing prototype applications for Chicago start-ups
Can Haz Cpu Cores Posted: May 26, 2012 5:10 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Can Haz Cpu Cores
Feed Title: GrottWorkShop
Feed URL: http://shareme.github.io/atom.xml
Feed Description: Android development with a passion for Android, Java, and Agile.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From GrottWorkShop

Advertisement

As we adjust to having a large market share of devices with more than one CPU core in the market we find that we have more openGL configuration settings and options. With a little Linux/Unix knowledge we can get the number of CPU cores used on your android device.

Unix/Linux, everything is a file

All you need to remember is that on Unix and Linux systems everything is a file. This means each CPU core will, guess come on guess, have its own file. Thus all we need to do is count the number of cpu core files in a directory, measure the length and that wil give us the number of CPU cores.

The code

Read: Can Haz Cpu Cores

Topic: Spring Developer Tools to Push Productivity Previous Topic   Next Topic Topic: The Developer/Non-Developer Impedance Mismatch

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use