Home
last modified time | relevance | path

Searched refs:g_op_mode (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/powertop/common/
H A Dpowertop.h88 #define PT_ON_DEFAULT (g_op_mode & PT_MODE_DEFAULT)
89 #define PT_ON_DUMP (g_op_mode & PT_MODE_DUMP)
90 #define PT_ON_VERBOSE (g_op_mode & PT_MODE_VERBOSE)
91 #define PT_ON_CPU (g_op_mode & PT_MODE_CPU)
92 #define PT_ON_TIME (g_op_mode & PT_MODE_TIME)
165 extern uchar_t g_op_mode;
H A Dpowertop.c66 uchar_t g_op_mode; variable
124 g_op_mode = PT_MODE_DEFAULT; in main()
145 g_op_mode |= PT_MODE_DUMP; in main()
161 g_op_mode |= PT_MODE_TIME; in main()
178 g_op_mode |= PT_MODE_VERBOSE; in main()
186 g_op_mode |= PT_MODE_CPU; in main()
H A Dcpufreq.c324 switch (g_op_mode) { in pt_cpufreq_stat_collect()
381 switch (g_op_mode) { in pt_cpufreq_snapshot()