mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
CPUUsage: support display value per core
This commit is contained in:
@@ -90,6 +90,11 @@ static inline void ffListDestroy(FFlist* list)
|
||||
list->data = NULL;
|
||||
}
|
||||
|
||||
static inline void ffListClear(FFlist* list)
|
||||
{
|
||||
list->length = 0;
|
||||
}
|
||||
|
||||
#define FF_LIST_FOR_EACH(itemType, itemVarName, listVar) \
|
||||
assert(sizeof(itemType) == (listVar).elementSize); \
|
||||
for(itemType* itemVarName = (itemType*)(listVar).data; \
|
||||
|
||||
Reference in New Issue
Block a user