|
Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "winGraphicsPipe.h"#include "config_windisplay.h"#include "displaySearchParameters.h"#include "displayInformation.h"#include "dtool_config.h"#include "pbitops.h"#include <psapi.h>#include <powrprof.h>#include <intrin.h>Go to the source code of this file.
Macros | |
| #define | MAXIMUM_PROCESSORS 32 |
Typedefs | |
| typedef long(__stdcall * | CallNtPowerInformationType) (POWER_INFORMATION_LEVEL information_level, PVOID InputBuffer, ULONG InputBufferLength, PVOID OutputBuffer, ULONG OutputBufferLength) |
| typedef BOOL(WINAPI * | GetProcessMemoryInfoType) (HANDLE Process, PROCESS_MEMORY_COUNTERS *ppsmemCounters, DWORD cb) |
| typedef struct _PROCESSOR_POWER_INFORMATION * | PPROCESSOR_POWER_INFORMATION |
| typedef enum _Process_DPI_Awareness | Process_DPI_Awareness |
| typedef struct _PROCESSOR_POWER_INFORMATION | PROCESSOR_POWER_INFORMATION |
Enumerations | |
| enum | _Process_DPI_Awareness { Process_DPI_Unaware = 0 , Process_System_DPI_Aware = 1 , Process_Per_Monitor_DPI_Aware = 2 } |
Functions | |
| void | count_number_of_cpus (DisplayInformation *display_information) |
| void | get_memory_information (DisplayInformation *display_information) |
| int | update_cpu_frequency_function (int processor_number, DisplayInformation *display_information) |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file winGraphicsPipe.cxx.
| #define MAXIMUM_PROCESSORS 32 |
Definition at line 28 of file winGraphicsPipe.cxx.
| typedef long(__stdcall * CallNtPowerInformationType) (POWER_INFORMATION_LEVEL information_level, PVOID InputBuffer, ULONG InputBufferLength, PVOID OutputBuffer, ULONG OutputBufferLength) |
Definition at line 47 of file winGraphicsPipe.cxx.
| typedef BOOL(WINAPI * GetProcessMemoryInfoType) (HANDLE Process, PROCESS_MEMORY_COUNTERS *ppsmemCounters, DWORD cb) |
Definition at line 46 of file winGraphicsPipe.cxx.
| enum _Process_DPI_Awareness |
Definition at line 31 of file winGraphicsPipe.cxx.
| void count_number_of_cpus | ( | DisplayInformation * | display_information | ) |
Definition at line 154 of file winGraphicsPipe.cxx.
| void get_memory_information | ( | DisplayInformation * | display_information | ) |
Definition at line 54 of file winGraphicsPipe.cxx.
| int update_cpu_frequency_function | ( | int | processor_number, |
| DisplayInformation * | display_information ) |
Definition at line 98 of file winGraphicsPipe.cxx.