Skip to content

Commit

Permalink
Fix multipler on Windows ("Memory") (netdata#17705)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm authored May 20, 2024
1 parent 7bfa7fe commit 05dd823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collectors/windows.plugin/perflib-memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static bool do_memory(PERF_DATA_BLOCK *pDataBlock, int update_every) {
else if(perflibGetObjectCounter(pDataBlock, pObjectType, &availableKBytes))
available_bytes = availableKBytes.current.Data * 1024;
else if(perflibGetObjectCounter(pDataBlock, pObjectType, &availableMBytes))
available_bytes = availableMBytes.current.Data * 1024;
available_bytes = availableMBytes.current.Data * 1024 * 1024;

common_mem_available(available_bytes, update_every);

Expand Down

0 comments on commit 05dd823

Please sign in to comment.