Home
last modified time | relevance | path

Searched refs:cs_prev (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c58 extern _sd_stats_t *cs_prev;
455 cs_persec->st_rdhits = cs_cur->st_rdhits - cs_prev->st_rdhits; in do_calc()
456 cs_persec->st_rdmiss = cs_cur->st_rdmiss - cs_prev->st_rdmiss; in do_calc()
457 cs_persec->st_wrhits = cs_cur->st_wrhits - cs_prev->st_wrhits; in do_calc()
458 cs_persec->st_wrmiss = cs_cur->st_wrmiss - cs_prev->st_wrmiss; in do_calc()
466 cs_prev->st_shared[i].sh_disk_write); in do_calc()
469 cs_prev->st_shared[i].sh_disk_read); in do_calc()
472 cs_prev->st_shared[i].sh_cache_read); in do_calc()
475 cs_prev->st_shared[i].sh_cache_write); in do_calc()
479 (void) memcpy((char *) cs_prev, (char *) cs_cur, sizeof (_sd_stats_t) + in do_calc()
H A Dsd_stats.c128 _sd_stats_t *cs_prev; variable
178 cs_prev = malloc(sizeof (_sd_stats_t) + in sd_stats_lintmain()
185 !rate_prev || !cs_cur || !cs_prev || !cs_persec || !range) { in sd_stats_lintmain()