10  namespace diagnostics {
 
   35    inline std::ostream& operator<<(std::ostream& os, 
xtd::diagnostics::process_priority_class value) {
return os << 
to_string(value, {{
diagnostics::process_priority_class::normal, 
"normal"}, {
diagnostics::process_priority_class::idle, 
"idle"}, {
diagnostics::process_priority_class::high, 
"high"}, {
diagnostics::process_priority_class::real_time, 
"real_time"}, {
diagnostics::process_priority_class::below_normal, 
"below_normal"}, {
diagnostics::process_priority_class::above_normal, 
"above_normal"}});}
 
   36    inline std::wostream& operator<<(std::wostream& os, 
xtd::diagnostics::process_priority_class value) {
return os << 
to_string(value, {{
diagnostics::process_priority_class::normal, L
"normal"}, {
diagnostics::process_priority_class::idle, L
"idle"}, {
diagnostics::process_priority_class::high, L
"high"}, {
diagnostics::process_priority_class::real_time, L
"real_time"}, {
diagnostics::process_priority_class::below_normal, L
"below_normal"}, {
diagnostics::process_priority_class::above_normal, L
"above_normal"}});}
 
process_priority_class
Indicates the priority that the system associates with a process. This value, together with the prior...
Definition: process_priority_class.h:19
 
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
 
@ below_normal
Specifies that the process has priority above Idle but below Normal.
 
@ above_normal
Specifies that the process has priority higher than Normal but lower than High.
 
@ high
Specifies that the process performs time-critical tasks that must be executed immediately,...
 
@ real_time
Specifies that the process has the highest possible priority. The threads of a process with RealTime ...
 
@ idle
Specifies that the threads of this process run only when the system is idle, such as a screen saver....
 
@ normal
Specifies that the process has no special scheduling needs.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17