Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Hardly any GPU stats or wrong GPU stats

Tobi edited this page Jan 20, 2020 · 2 revisions

(This page is subject to change)

Why are there hardly any GPU stats and / or why are those stats wrong?

TL;DR Tobs lacks an API that exposes proper GPU data and native utilities also don't really exist for GPU data, so there's not really a way to get this kind of information, even with child processes that call native system APIs.

Simple explanation

Because of technical limitations, Tobs hasn't access to a lot of GPU data. Also, GPU data might be incorrect. This is because there are hardly any APIs (interfaces where data comes from like: app asks for data -> operating systems gives data to app -> app displays data) that expose GPU data that can be used with JavaScript.

More technical explanation

Tobs is build with JavaScript, more specifically Node.js (a JavaScript runtime that runs on the server-side). To gather hardware information, Tobs uses systeminformation, a Node.js module that exposes pre-built functions to access this data on a variety of operating systems. However, "under the hood", this module also has to use platform specific utilities. So in the end, the module also does not have access to GPU data, as there aren't any APIs for that, and therefore Tobs does not.

Clone this wiki locally