• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/vmstat/

Lines Matching defs:tog

136   unsigned int tog=0; /* toggle switch for cleaner code */
214 tog= !tog;
218 getstat(cpu_use+tog,cpu_nic+tog,cpu_sys+tog,cpu_idl+tog,cpu_iow+tog,cpu_xxx+tog,cpu_yyy+tog,cpu_zzz+tog,
219 pgpgin+tog,pgpgout+tog,pswpin+tog,pswpout+tog,
220 intr+tog,ctxt+tog,
224 duse= cpu_use[tog]-cpu_use[!tog] + cpu_nic[tog]-cpu_nic[!tog];
225 dsys= cpu_sys[tog]-cpu_sys[!tog] + cpu_xxx[tog]-cpu_xxx[!tog] + cpu_yyy[tog]-cpu_yyy[!tog];
226 didl= cpu_idl[tog]-cpu_idl[!tog];
227 diow= cpu_iow[tog]-cpu_iow[!tog];
228 dstl= cpu_zzz[tog]-cpu_zzz[!tog];
247 (unsigned)( ( (pswpin [tog] - pswpin [!tog])*unitConvert(kb_per_page)+sleep_half )/sleep_time ), /*si*/
248 (unsigned)( ( (pswpout[tog] - pswpout[!tog])*unitConvert(kb_per_page)+sleep_half )/sleep_time ), /*so*/
249 (unsigned)( ( pgpgin [tog] - pgpgin [!tog] +sleep_half )/sleep_time ), /*bi*/
250 (unsigned)( ( pgpgout[tog] - pgpgout[!tog] +sleep_half )/sleep_time ), /*bo*/
251 (unsigned)( ( intr [tog] - intr [!tog] +sleep_half )/sleep_time ), /*in*/
252 (unsigned)( ( ctxt [tog] - ctxt [!tog] +sleep_half )/sleep_time ), /*cs*/
263 getitlbstat(itlb_access+tog, itlb_miss+tog, ijtlb_miss+tog);
265 itlba = itlb_access[tog]-itlb_access[!tog];
266 itlbm = itlb_miss[tog]-itlb_miss[!tog];
267 ijtlbm = ijtlb_miss[tog]-ijtlb_miss[!tog];
273 getdjtlbstat(djtlb_access+tog, djtlb_miss+tog);
275 djtlba = djtlb_access[tog]-djtlb_access[!tog];
276 djtlbm = djtlb_miss[tog]-djtlb_miss[!tog];
282 getcpucachestat(icache_access+tog, icache_miss+tog, dcache_wb+tog, dcache_miss+tog);
284 icachea = icache_access[tog]-icache_access[!tog];
285 icachem = icache_miss[tog]-icache_miss[!tog];
286 dcachewb = dcache_wb[tog]-dcache_wb[!tog];
287 dcachem = dcache_miss[tog]-dcache_miss[!tog];