diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-18 19:23:34 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-18 19:23:34 +0900 |
commit | 1f83ff6927841f3f48363b59d8c4bc22247f7943 (patch) | |
tree | c2204c0694eabc35503881c8d73d87d008674e05 /main.c | |
parent | b48f40f863c80c9f8394cfd5e8c3716191611888 (diff) |
GPU情報の追加
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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"); |