Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3f6510c1
Commit
3f6510c1
authored
Sep 20, 2023
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Trace global memory counters in decimal.
parent
b57d4fcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
memory.c
dlls/kernelbase/memory.c
+4
-6
No files found.
dlls/kernelbase/memory.c
View file @
3f6510c1
...
...
@@ -1247,12 +1247,10 @@ BOOL WINAPI DECLSPEC_HOTPATCH GlobalMemoryStatusEx( MEMORYSTATUSEX *status )
if
(
status
->
ullTotalPhys
)
status
->
dwMemoryLoad
=
(
status
->
ullTotalPhys
-
status
->
ullAvailPhys
)
/
(
status
->
ullTotalPhys
/
100
);
TRACE_
(
virtual
)(
"MemoryLoad %ld, TotalPhys %s, AvailPhys %s, TotalPageFile %s,"
"AvailPageFile %s, TotalVirtual %s, AvailVirtual %s
\n
"
,
status
->
dwMemoryLoad
,
wine_dbgstr_longlong
(
status
->
ullTotalPhys
),
wine_dbgstr_longlong
(
status
->
ullAvailPhys
),
wine_dbgstr_longlong
(
status
->
ullTotalPageFile
),
wine_dbgstr_longlong
(
status
->
ullAvailPageFile
),
wine_dbgstr_longlong
(
status
->
ullTotalVirtual
),
wine_dbgstr_longlong
(
status
->
ullAvailVirtual
)
);
TRACE_
(
virtual
)(
"MemoryLoad %lu, TotalPhys %I64u, AvailPhys %I64u, TotalPageFile %I64u, "
"AvailPageFile %I64u, TotalVirtual %I64u, AvailVirtual %I64u
\n
"
,
status
->
dwMemoryLoad
,
status
->
ullTotalPhys
,
status
->
ullAvailPhys
,
status
->
ullTotalPageFile
,
status
->
ullAvailPageFile
,
status
->
ullTotalVirtual
,
status
->
ullAvailVirtual
);
cached_status
=
*
status
;
return
TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment