perpage
HRSTART(ds->perpage, write);
HRSTOP(ds->perpage, write);
HRSTART(hp->perpage, inwait);
HRSTOP(hp->perpage, inwait);
HRSTART(hp->perpage, copy);
HRSTOP(hp->perpage, copy);
HRSTART(hp->perpage, outwait);
HRSTOP(hp->perpage, outwait);
HRSTART(hp->perpage, compress);
HRSTOP(hp->perpage, compress);
HRSTART(hp->perpage, outwait);
HRSTOP(hp->perpage, outwait);
HRSTART(hp->perpage, compress);
HRSTOP(hp->perpage, compress);
HRSTART(hp->perpage, copy);
HRSTOP(hp->perpage, copy);
HRSTART(hp->perpage, compress);
HRSTOP(hp->perpage, compress);
HRSTART(hp->perpage, write);
HRSTOP(hp->perpage, write);
HRSTART(ds->perpage, write);
HRSTOP(ds->perpage, write);
HRSTART(ds->perpage, bitmap);
HRSTOP(ds->perpage, bitmap);
HRSTART(ds->perpage, map);
HRSTOP(ds->perpage, map);
HRSTART(ds->perpage, unmap);
HRSTOP(ds->perpage, unmap);
#define PERPAGE(x) ds->perpage.x += hp->perpage.x;
P("%s nsec/page,%d\n", #x, (int)(ds->perpage.x / ds->npages));
bzero(&hp->perpage, sizeof (hp->perpage));
perpage_t perpage; /* metrics */
perpage_t perpage; /* per page metrics */