Lines Matching refs:sample_interval
348 unsigned long sample_interval = ctx->attrs.sample_interval ? in damos_set_next_apply_sis() local
349 ctx->attrs.sample_interval : 1; in damos_set_next_apply_sis()
354 apply_interval / sample_interval; in damos_set_next_apply_sis()
449 ctx->attrs.sample_interval = 5 * 1000; in damon_new_ctx()
547 if (!old_attrs->sample_interval || !old_attrs->aggr_interval || in damon_update_monitoring_results()
548 !new_attrs->sample_interval || in damon_update_monitoring_results()
570 unsigned long sample_interval = attrs->sample_interval ? in damon_set_attrs() local
571 attrs->sample_interval : 1; in damon_set_attrs()
578 if (attrs->sample_interval > attrs->aggr_interval) in damon_set_attrs()
582 attrs->aggr_interval / sample_interval; in damon_set_attrs()
584 attrs->ops_update_interval / sample_interval; in damon_set_attrs()
1087 unsigned long sample_interval = c->attrs.sample_interval ? in kdamond_apply_schemes() local
1088 c->attrs.sample_interval : 1; in kdamond_apply_schemes()
1116 c->attrs.aggr_interval) / sample_interval; in kdamond_apply_schemes()
1187 (c->attrs.sample_interval ? c->attrs.sample_interval : 1); in kdamond_merge_regions()
1398 unsigned long sample_interval = ctx->attrs.sample_interval ? in kdamond_init_intervals_sis() local
1399 ctx->attrs.sample_interval : 1; in kdamond_init_intervals_sis()
1404 ctx->next_aggregation_sis = ctx->attrs.aggr_interval / sample_interval; in kdamond_init_intervals_sis()
1406 sample_interval; in kdamond_init_intervals_sis()
1411 scheme->next_apply_sis = apply_interval / sample_interval; in kdamond_init_intervals_sis()
1448 unsigned long sample_interval = ctx->attrs.sample_interval; in kdamond_fn() local
1459 kdamond_usleep(sample_interval); in kdamond_fn()
1481 sample_interval = ctx->attrs.sample_interval ? in kdamond_fn()
1482 ctx->attrs.sample_interval : 1; in kdamond_fn()
1485 ctx->attrs.aggr_interval / sample_interval; in kdamond_fn()
1496 sample_interval; in kdamond_fn()