Lines Matching refs:sample_interval
428 ctx->attrs.sample_interval = 5 * 1000; in damon_new_ctx()
526 if (!old_attrs->sample_interval || !old_attrs->aggr_interval || in damon_update_monitoring_results()
527 !new_attrs->sample_interval || in damon_update_monitoring_results()
549 unsigned long sample_interval = attrs->sample_interval ? in damon_set_attrs() local
550 attrs->sample_interval : 1; in damon_set_attrs()
556 if (attrs->sample_interval > attrs->aggr_interval) in damon_set_attrs()
560 attrs->aggr_interval / sample_interval; in damon_set_attrs()
562 attrs->ops_update_interval / sample_interval; in damon_set_attrs()
1139 (c->attrs.sample_interval ? c->attrs.sample_interval : 1); in kdamond_merge_regions()
1349 unsigned long sample_interval = ctx->attrs.sample_interval ? in kdamond_init_intervals_sis() local
1350 ctx->attrs.sample_interval : 1; in kdamond_init_intervals_sis()
1353 ctx->next_aggregation_sis = ctx->attrs.aggr_interval / sample_interval; in kdamond_init_intervals_sis()
1355 sample_interval; in kdamond_init_intervals_sis()
1391 unsigned long sample_interval = ctx->attrs.sample_interval; in kdamond_fn() local
1402 kdamond_usleep(sample_interval); in kdamond_fn()
1408 sample_interval = ctx->attrs.sample_interval ? in kdamond_fn()
1409 ctx->attrs.sample_interval : 1; in kdamond_fn()
1412 ctx->attrs.aggr_interval / sample_interval; in kdamond_fn()
1430 sample_interval; in kdamond_fn()