summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-18 19:23:34 +0900
committer諏訪子 <suwako@076.moe>2024-06-18 19:23:34 +0900
commit1f83ff6927841f3f48363b59d8c4bc22247f7943 (patch)
treec2204c0694eabc35503881c8d73d87d008674e05 /main.c
parentb48f40f863c80c9f8394cfd5e8c3716191611888 (diff)
GPU情報の追加
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.c b/main.c
index 6a13b72..9d8009d 100644
--- a/main.c
+++ b/main.c
@@ -14,6 +14,7 @@
#endif
#include "src/packages.h"
#include "src/cpu.h"
+#include "src/gpu.h"
#include "src/memory.h"
const char *sofname = "farfetch";
@@ -127,6 +128,12 @@ int main(int argc, char *argv[]) {
lc++;
printf("%s ", LOGO[lc]);
+ printf(COLOR"%s%s"RESET, "GPU", ": ");
+ display_gpu();
+ printf("\n");
+ lc++;
+
+ printf("%s ", LOGO[lc]);
printf(COLOR"%s%s"RESET, "Memory", ": ");
display_memory();
printf("\n");