i'm needing query various data on gpu, example total dedicated video memory, driver names, driver versions , ideally driver dates. i'm programming in c++ using iokit library so.
example, can total dedicated video memory iterating on ioservice iopcidevice entries, looking device "ioname" set "display", checking if has "vram,totalsize" property , if pulling out data. seems reasonably reliable, guaranteed? example, on machine display entry has property "ioocdbundlename" seems indicate driver name "atiradeonx3000gldriver". can count on entry having ioocdbundlename property? both ati , nvidia cards? particular properties guaranteed same across different cards , card vendors?
also, there way obtain date driver created? can in windows registry there doesn't seem see similar value on os x. on windows driverdate seems correspond date actual driver file created. safe make same assumption on os x? (i.e. looking @ modification date actual executable found in bundle specified reliable way date driver?)
i'm rather new using iokit library, , i'd make sure methods grabbing data aren't going break when run on potentially different hardware. info.
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment