Searched refs:divisor (Results 1 – 2 of 2) sorted by relevance
687 static enum hist_field_fn hist_field_get_div_fn(struct hist_field *divisor) in hist_field_get_div_fn() argument689 u64 div = divisor->constant; in hist_field_get_div_fn()698 divisor->div_multiplier = div64_u64((u64)(1 << HIST_DIV_SHIFT), div); in hist_field_get_div_fn()2746 u64 divisor = var2 ? var2->constant : operand2->constant; in parse_expr() local2748 if (!divisor) { in parse_expr()2758 operand2->constant = divisor; in parse_expr()
3992 u64 divisor, dividend; in perf_calculate_period() local4036 divisor = nsec * frequency; in perf_calculate_period()4040 divisor >>= 1; in perf_calculate_period()4052 divisor = nsec * frequency; in perf_calculate_period()4055 if (!divisor) in perf_calculate_period()4058 return div64_u64(dividend, divisor); in perf_calculate_period()