Searched refs:g_cpus_per_line (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c64 static int g_cpus_per_line = INTRSTAT_CPUS_PER_LINE(80); variable
137 * thereby using the default value of g_cpus_per_line. (This
143 g_cpus_per_line = INTRSTAT_CPUS_PER_LINE(win.ws_col);
145 if (g_cpus_per_line < 1)
146 g_cpus_per_line = 1;
166 if (++j >= g_cpus_per_line)
202 for (i = g_start, j = 0; i < g_max_cpus && j < g_cpus_per_line; i++) {
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c73 static int g_cpus_per_line = (80 - TSTAT_COLUMN_OFFS) / TSTAT_COLUMNS_PER_CPU; variable
170 * thereby using the default value of g_cpus_per_line. (This
176 g_cpus_per_line = (win.ws_col - TSTAT_COLUMN_OFFS) /
179 if (g_cpus_per_line < 1)
180 g_cpus_per_line = 1;
903 for (done = 0; !done; data += g_cpus_per_line) {
904 for (i = 0; i < g_cpus_per_line; i++) {
921 if (i != g_cpus_per_line)

Completed in 60 milliseconds