Searched refs:period (Results 1 – 2 of 2) sorted by relevance
300 __u64 period = 0; in calc_period() local302 period = r->timestamp - p->timestamp; in calc_period()303 if (period > 0) in calc_period()304 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
574 __u64 period = 0; in calc_period() local576 period = r->timestamp - p->timestamp; in calc_period()577 if (period > 0) in calc_period()578 period_ = ((double)period / NANOSEC_PER_SEC); in calc_period()