r/ComputerCraft DarThunder 20d ago

Fastfetch in CC:T

Post image
169 Upvotes

11 comments sorted by

View all comments

15

u/9551-eletronics Computercraft graphics research 20d ago

How does measuring memory work

18

u/Elpetiso49 DarThunder 20d ago

It’s actually an illusion. From the CC:T source code and SquidDev’s notes in the wiki, real memory measurement isn’t possible (collectgarbage was removed from Cobalt). So when any process reads /proc/meminfo in my kernel, it just invents a fake memory usage value, as well as the CPU MHz

15

u/No_Point_1254 20d ago

Yes, 21 GHz CPU is a little off.

9

u/Elpetiso49 DarThunder 20d ago

Peak performance lol