Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
2ef077e9
Commit
2ef077e9
authored
Feb 06, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Make stuff static.
parent
4a58bf5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
perfdata.c
programs/taskmgr/perfdata.c
+19
-19
No files found.
programs/taskmgr/perfdata.c
View file @
2ef077e9
...
...
@@ -32,25 +32,25 @@
#include "taskmgr.h"
#include "perfdata.h"
PROCNTQSI
NtQuerySystemInformation
=
NULL
;
PROCGGR
pGetGuiResources
=
NULL
;
PROCGPIC
pGetProcessIoCounters
=
NULL
;
CRITICAL_SECTION
PerfDataCriticalSection
;
PPERFDATA
pPerfDataOld
=
NULL
;
/* Older perf data (saved to establish delta values) */
PPERFDATA
pPerfData
=
NULL
;
/* Most recent copy of perf data */
ULONG
ProcessCountOld
=
0
;
ULONG
ProcessCount
=
0
;
double
dbIdleTime
;
double
dbKernelTime
;
double
dbSystemTime
;
LARGE_INTEGER
liOldIdleTime
=
{{
0
,
0
}};
double
OldKernelTime
=
0
;
LARGE_INTEGER
liOldSystemTime
=
{{
0
,
0
}};
SYSTEM_PERFORMANCE_INFORMATION
SystemPerfInfo
;
SYSTEM_BASIC_INFORMATION
SystemBasicInfo
;
SYSTEM_CACHE_INFORMATION
SystemCacheInfo
;
SYSTEM_HANDLE_INFORMATION
SystemHandleInfo
;
PSYSTEM_PROCESSORTIME_INFO
SystemProcessorTimeInfo
=
NULL
;
static
PROCNTQSI
NtQuerySystemInformation
=
NULL
;
static
PROCGGR
pGetGuiResources
=
NULL
;
static
PROCGPIC
pGetProcessIoCounters
=
NULL
;
static
CRITICAL_SECTION
PerfDataCriticalSection
;
static
PPERFDATA
pPerfDataOld
=
NULL
;
/* Older perf data (saved to establish delta values) */
static
PPERFDATA
pPerfData
=
NULL
;
/* Most recent copy of perf data */
static
ULONG
ProcessCountOld
=
0
;
static
ULONG
ProcessCount
=
0
;
static
double
dbIdleTime
;
static
double
dbKernelTime
;
static
double
dbSystemTime
;
static
LARGE_INTEGER
liOldIdleTime
=
{{
0
,
0
}};
static
double
OldKernelTime
=
0
;
static
LARGE_INTEGER
liOldSystemTime
=
{{
0
,
0
}};
static
SYSTEM_PERFORMANCE_INFORMATION
SystemPerfInfo
;
static
SYSTEM_BASIC_INFORMATION
SystemBasicInfo
;
static
SYSTEM_CACHE_INFORMATION
SystemCacheInfo
;
static
SYSTEM_HANDLE_INFORMATION
SystemHandleInfo
;
static
PSYSTEM_PROCESSORTIME_INFO
SystemProcessorTimeInfo
=
NULL
;
BOOL
PerfDataInitialize
(
void
)
{
...
...
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