Git Product home page Git Product logo

gpuutilization's Introduction

GPUUtilization

CI Status Version License Platform

This project calls methods from IOKit to get the realtime GPU utilization of a iOS device, it maybe helpful for debug usage.

Warning:!!!

Do not integrate this on a Appstore version, you will be REJECTED.

img_1584

img_1585

Installation

GPUUtilization is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GPUUtilization', :configurations => ['Debug']

Author

rickytan, [email protected]

License

GPUUtilization is available under the MIT license. See the LICENSE file for more info.

gpuutilization's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpuutilization's Issues

Many symbols are lost when linking

"_IOServiceNameMatching", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_IOIteratorNext", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_IORegistryEntryGetChildIterator", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_kIOMasterPortDefault", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_IORegistryEntryCreateCFProperties", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_IOServiceGetMatchingServices", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o
"_IOObjectRelease", referenced from:
+[GPUUtilization utilizeDictionary] in GPUUtilization.o

ios13.1.3

can't build in real machine

The simulator can work success。
but can't build in real machine

Showing Recent Messages
Undefined symbol: _IOServiceNameMatching
Undefined symbol: _IOIteratorNext
Undefined symbol: _IORegistryEntryGetChildIterator
Undefined symbol: _kIOMasterPortDefault
Undefined symbol: _IORegistryEntryCreateCFProperties
Undefined symbol: _IOServiceGetMatchingServices
Undefined symbol: _IOObjectRelease

Seems not working on xcode 11 & ios 13.5

when run in iPhone, xcode says couldn't install app cause can't find app
when run in simulator, xcode says failed to load plist in IOKit.framework and "Extra info about plist: ACL= "

how to integrate the project in manual instead of cocoapods?

For some reasons, my project can not use cocoapods. Therefore, I imported the files in the classes folder to my project. However, there are some compile errors, which are some symbols undefined, such as IOObjectRelease, IOIteratorNext. I wonder how to integrate the GPUUtilzation manually? Thanks:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.