aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
committerValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
commita990de90fe41456a23e58bd087d2f107d321f3a1 (patch)
tree15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling
parent3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff)
downloadfparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz
fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip
Deleted vendor folder
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs41
1 files changed, 0 insertions, 41 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
deleted file mode 100644
index 82c7a2c..0000000
--- a/vendor/windows-sys/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs
+++ /dev/null
@@ -1,41 +0,0 @@
-#[cfg(feature = "Win32_Foundation")]
-::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DisableThreadProfiling(performancedatahandle : super::super::super::Foundation:: HANDLE) -> u32);
-#[cfg(feature = "Win32_Foundation")]
-::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnableThreadProfiling(threadhandle : super::super::super::Foundation:: HANDLE, flags : u32, hardwarecounters : u64, performancedatahandle : *mut super::super::super::Foundation:: HANDLE) -> u32);
-#[cfg(feature = "Win32_Foundation")]
-::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryThreadProfiling(threadhandle : super::super::super::Foundation:: HANDLE, enabled : *mut super::super::super::Foundation:: BOOLEAN) -> u32);
-#[cfg(feature = "Win32_Foundation")]
-::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ReadThreadProfilingData(performancedatahandle : super::super::super::Foundation:: HANDLE, flags : u32, performancedata : *mut PERFORMANCE_DATA) -> u32);
-pub const MaxHardwareCounterType: HARDWARE_COUNTER_TYPE = 1i32;
-pub const PMCCounter: HARDWARE_COUNTER_TYPE = 0i32;
-pub type HARDWARE_COUNTER_TYPE = i32;
-#[repr(C)]
-pub struct HARDWARE_COUNTER_DATA {
- pub Type: HARDWARE_COUNTER_TYPE,
- pub Reserved: u32,
- pub Value: u64,
-}
-impl ::core::marker::Copy for HARDWARE_COUNTER_DATA {}
-impl ::core::clone::Clone for HARDWARE_COUNTER_DATA {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-pub struct PERFORMANCE_DATA {
- pub Size: u16,
- pub Version: u8,
- pub HwCountersCount: u8,
- pub ContextSwitchCount: u32,
- pub WaitReasonBitMap: u64,
- pub CycleTime: u64,
- pub RetryCount: u32,
- pub Reserved: u32,
- pub HwCounters: [HARDWARE_COUNTER_DATA; 16],
-}
-impl ::core::marker::Copy for PERFORMANCE_DATA {}
-impl ::core::clone::Clone for PERFORMANCE_DATA {
- fn clone(&self) -> Self {
- *self
- }
-}