Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustyStarX/RustyStar
/ functions
Functions
58 in github.com/RustyStarX/RustyStar
⨍
Functions
58
◇
Types & classes
13
↓ 8 callers
Function
toggle_efficiency_mode_handle
Toggle efficiency mode of a thread, by a [`HANDLE`](https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Foundation/struct.HANDLE.html). [`G
win32-ecoqos/src/thread.rs:59
↓ 4 callers
Function
toggle_efficiency_mode
Toggle efficiency mode of a thread, by a thread_id. WARN: [`Thread::id()`](https://doc.rust-lang.org/std/thread/struct.Thread.html#method.id) is enti
win32-ecoqos/src/thread.rs:39
↓ 4 callers
Function
whitelisted
(proc_name: impl AsRef<OsStr>)
rustystar/src/bypass/mod.rs:5
↓ 3 callers
Function
toggle_all
(enable: Option<bool>)
rustystar/src/utils/mod.rs:60
↓ 2 callers
Function
encode_path
(path: &PathBuf)
rustystar/src/tray.rs:16
↓ 2 callers
Method
find_thread_by_name
find a thread of current process, by it's name
win32-ecoqos/src/utils/thread.rs:75
↓ 2 callers
Method
is_in_tree
(&self, root: u32, mut pid: u32)
rustystar/src/utils/proc_tree/mod.rs:32
↓ 2 callers
Method
next
(&mut self)
win32-ecoqos/src/utils/thread.rs:98
↓ 2 callers
Function
process_child_process
(enable: Option<bool>, main_pid: u32)
rustystar/src/utils/mod.rs:16
↓ 1 callers
Function
append_comments
(toml: &str)
rustystar/src/config/merge.rs:11
↓ 1 callers
Function
comment_sub_struct
( t: &mut Table, get_field: fn(String) -> Result<&'static str, documented::Error>, )
rustystar/src/config/merge.rs:18
↓ 1 callers
Function
enable_se_debug
(tokenhandle: HANDLE)
rustystar/src/privilege/mod.rs:28
↓ 1 callers
Function
enter_event_loop
()
rustystar/src/events/mod.rs:17
↓ 1 callers
Method
get_name
(&self)
win32-ecoqos/src/utils/thread.rs:54
↓ 1 callers
Function
is_elevated
(tokenhandle: HANDLE)
rustystar/src/privilege/mod.rs:12
↓ 1 callers
Function
listen_process_creation
(mut callback: impl FnMut(Process))
listen-new-proc/src/listen.rs:27
↓ 1 callers
Method
parent_pid
(&self)
rustystar/src/utils/proc_tree/mod.rs:60
↓ 1 callers
Method
pid
(&self)
rustystar/src/utils/proc_tree/mod.rs:56
↓ 1 callers
Function
setup_auto_launch
(autostart_on_boot: bool)
rustystar/src/auto_launch.rs:6
↓ 1 callers
Function
singleton_check
()
rustystar/src/utils/mod.rs:78
↓ 1 callers
Function
start_tray_service
(log_file: PathBuf)
rustystar/src/tray.rs:23
↓ 1 callers
Function
toggle_efficiency_mode_handle
Toggle efficiency mode of a process, by a [`HANDLE`](https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Foundation/struct.HANDLE.html). [`
win32-ecoqos/src/process.rs:84
↓ 1 callers
Function
toggle_efficiency_mode_impl
( hprocess: HANDLE, processinformation: *const c_void, processinformationclass: PROCESS_INFORMATIO
win32-ecoqos/src/process.rs:13
↓ 1 callers
Function
toggle_efficiency_mode_impl
( hthread: HANDLE, threadinformation: *const c_void, threadinformationclass: THREAD_INFORMATION_CL
win32-ecoqos/src/thread.rs:12
↓ 1 callers
Function
try_enable_se_debug_privilege
()
rustystar/src/privilege/mod.rs:59
↓ 1 callers
Function
try_find_uwp_process
(process_id: u32, window_thread: HWND)
rustystar/src/events/mod.rs:89
Method
config_path
()
rustystar/src/config/mod.rs:66
Method
default
()
rustystar/src/config/mod.rs:103
Function
disable_ecoqos_handle
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:16
Function
disable_ecoqos_pid
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:10
Method
drop
(&mut self)
win32-ecoqos/src/utils/process.rs:29
Method
drop
(&mut self)
win32-ecoqos/src/utils/thread.rs:48
Function
ecoqos_enabled
check whether EcoQoS is enabled on a process. `hprocess` must have `PROCESS_QUERY_INFORMATION` access right. SAFETY: `hprocess` must be a valid proc
win32-ecoqos/src/process.rs:120
Function
ecoqos_enabled
check whether EcoQoS is enabled on a thread. `hprocess` must have `THREAD_QUERY_INFORMATION` access right. SAFETY: `hthread` must be a valid process
win32-ecoqos/src/thread.rs:95
Function
find_match
(hwnd: HWND, ctx_ptr: LPARAM)
rustystar/src/events/mod.rs:90
Function
find_thread_by_name
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:39
Function
find_thread_by_name_snap
()
win32-ecoqos/tests/find_thread.rs:10
Function
fold_doc
(doc: &str)
rustystar/src/config/merge.rs:49
Method
from
(iter: I)
rustystar/src/utils/proc_tree/mod.rs:21
Method
from_profile
()
rustystar/src/config/mod.rs:76
Function
hook
( _hwineventhook: HWINEVENTHOOK, _event: u32, window_thread: HWND, _idobject:
rustystar/src/events/mod.rs:18
Function
list_process
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:24
Function
list_thread
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:31
Function
log_error
(e: &E)
rustystar/src/logging/mod.rs:5
Function
log_warn
(e: &E)
rustystar/src/logging/mod.rs:12
Function
main
()
win32-ecoqos/examples/retrieve_thread.rs:12
Function
main
()
win32-ecoqos/examples/list_process.rs:3
Function
main
()
rustystar/build.rs:3
Function
main
()
rustystar/src/main.rs:26
Method
new
()
rustystar/src/utils/proc_tree/mod.rs:28
Method
next
(&mut self)
win32-ecoqos/src/utils/process.rs:48
Function
send_thread_id_back
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:59
Function
test_csrss_process_name
()
win32-ecoqos/tests/list_process.rs:4
Function
test_process_ecoqos
()
win32-ecoqos/tests/process_toggle.rs:5
Function
test_thread_ecoqos
()
win32-ecoqos/tests/thread_toggle.rs:5
Function
toggle_efficiency_mode
Toggle efficiency mode of a process, by it's PID. ```rust use win32_ecoqos::process::toggle_efficiency_mode; let pid = std::process::id(); // Enabl
win32-ecoqos/src/process.rs:47
Method
try_new
try to capture a snapshot of processes.
win32-ecoqos/src/utils/process.rs:36
Method
try_new
create a new snapshop to find threads
win32-ecoqos/src/utils/thread.rs:66